Uttar Pradesh chief minister Akhilesh Yadav, who was at a function in Lucknow , was rushed outside by his security staff after a major earthquake rocked north and east India.