The Grid-distributed data analysis in CMS