Trouble started when some Dalit youths opposed the bursting of crackers by another group, they said.
"Two persons have been arrested and a case has been registered against 30 people," police out-post in-charge Naresh Bhati said.
Security has been tightened in the town and police personnel have been deployed to thwart any untoward incident, he said.
In another incident, at least six people were injured after two groups clashed over bursting of firecrackers at Kirti village, the police said.