Eighteen people have been arrested over violence that erupted in parts of Kanpur in Uttar Pradesh after Friday prayers as members of two communities pelted bricks at each-other and hurled bombs over attempts to shut shops in protest against 'insulting' comments on Prophet Mohammed.