[ https://issues.apache.org/jira/browse/MAPREDUCE-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230396#comment-13230396 ]
Alejandro Abdelnur commented on MAPREDUCE-4010: ----------------------------------------------- The root cause of the failure is that the deprecation logic (to replace old keys with new keys) has always been wrong as it was breaking iterator(), but his was never exposed as it was not being used until now. HADOOP-8167 attempts to fix this in the least intrusive way, still intrusive. We can can 'fix' size() to return size of the iterator, but that would require building and iterating the iterator on size(). IMO this is an expensive thing to do, thus the change in this testcase which verifies the contents of the configuration are the expected ones. > TestWritableJobConf fails on trunk > ---------------------------------- > > Key: MAPREDUCE-4010 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4010 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.24.0 > Reporter: Jason Lowe > Assignee: Alejandro Abdelnur > Priority: Critical > Fix For: 0.23.3 > > Attachments: MAPREDUCE-4010.patch, MAPREDUCE-4010.patch > > > TestWritableJobConf is currently failing two tests on trunk: > * testEmptyConfiguration > * testNonEmptyConfiguration > Appears to have been caused by HADOOP-8167. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira