[ https://issues.apache.org/jira/browse/HADOOP-6476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795745#action_12795745 ]
Hadoop QA commented on HADOOP-6476: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12429252/HADOOP-6476.patch against trunk revision 894706. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/247/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/247/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/247/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/247/console This message is automatically generated. > o.a.h.io.Text - setCapacity does not shrink size > ------------------------------------------------- > > Key: HADOOP-6476 > URL: https://issues.apache.org/jira/browse/HADOOP-6476 > Project: Hadoop Common > Issue Type: Bug > Reporter: Kay Kay > Fix For: 0.21.0 > > Attachments: HADOOP-6476.patch > > > The internal byte array of o.a.h.io.Text does not shrink , if we set a > capacity that is less than the size of the internal byte array. > * If input length for setCapacity < length of byte array - then the byte > array is reset. > * Existing data is retained depending on if keepData variable is set. > * 4 new test cases added for various capacity sizes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.