A local court in Hassan district of Karnataka has sentenced six men to six years in prison for the murder of a 42-year-old man in 2022.