question: private static Map < String , List < List < Distributable > > > assignBlocksToTasksPerNode ( Map < String , List < Distributable > > nodeBlocksMap , int noOfTasksPerNode ) { Map < String , List < List < Distributable > > > outputMap = new HashMap < String , List < List < Distributable > > > ( CarbonCommonConstants . DEFAULT_COLLECTION_SIZE ) ; for ( Map . Entry < String , List < Distributable > > eachNode : nodeBlocksMap . entrySet ( ) ) { List < Distributable > blockOfEachNode = eachNode . getValue ( ) ; Collections . sort ( blockOfEachNode ) ; createTaskListForNode ( outputMap , noOfTasksPerNode , eachNode . getKey ( ) ) ; divideBlockToTasks ( outputMap , eachNode . getKey ( ) , blockOfEachNode ) ; } return outputMap ; }
target:  Assigning the blocks of a node to tasks.