[ https://issues.apache.org/jira/browse/MAPREDUCE-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832914#action_12832914 ]
Arun C Murthy commented on MAPREDUCE-1354: ------------------------------------------ Some more things which came up during more investigations: Math.ceil is fairly expensive, we use it in 2 places. One we can do away by using the cached value of JobInProgress.slotsPer{Map|Reduce}, the other with using rint (thanks to Chris for the suggestion). > Refactor JobTracker.submitJob to not lock the JobTracker during the HDFS > accesses > --------------------------------------------------------------------------------- > > Key: MAPREDUCE-1354 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1354 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Reporter: Devaraj Das > Assignee: Arun C Murthy > Priority: Critical > Attachments: MAPREDUCE-1354_yhadoop20.patch > > > It'd be nice to have the JobTracker object not be locked while accessing the > HDFS for reading the jobconf file and while writing the jobinfo file in the > submitJob method. We should see if we can avoid taking the lock altogether. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.