Communal tension prevailed in Kannauj district of Uttar Pradesh Saturday after some unidentified miscreants allegedly threw pieces of meat in the compound of a village temple and desecrated idols at two places which led to protests during which several shops were set on fire.