[ https://issues.apache.org/jira/browse/MAPREDUCE-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Sanjar updated MAPREDUCE-4273: ----------------------------------- Attachment: MAPREDUCE-4273-branch1-v2.patch This patch will work with both IBM SDK and Oracle SDK 6.0. impacted files: lib/input/TestCombineFileInputFormat.java and lib/TestCombineFileInputFormat.java Assumptions was made that original developer of CombineFileInputFormat class was aware of HashMap characteristic. However, above testcases were implemented as the order of element on HashMap are always constant. > Make CombineFileInputFormat split result JDK independent > -------------------------------------------------------- > > Key: MAPREDUCE-4273 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4273 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client > Affects Versions: 1.0.3 > Reporter: Luke Lu > Assignee: Yu Gao > Attachments: mapreduce-4273-branch-1.patch, > MAPREDUCE-4273-branch1-v2.patch, mapreduce-4273-branch-2.patch, > mapreduce-4273.patch > > > The split result of CombineFileInputFormat depends on the iteration order of > nodeToBlocks and rackToBlocks hash maps, which makes the result HashMap > implementation hence JDK dependent. > This is manifested as TestCombineFileInputFormat failures on alternative JDKs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira