|
This looks good, except that the data fields should be down in PipeMapper and PipeReducer, respectively. They should also be made private. You can configure them in the PipeMapper and PipeReducer configure methods. Please also include a test for the change.
I agree it's cleaner to push the data fields down, but the current code already has the mapOutputFieldSeparator and the reduceOutputFieldSeparator in PipeMapRed.
Shall I move those two existing fields as well? I will add the test once we got consensus on this question. Yes, please move the other fields down also.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381784/3341-2.patch against trunk revision 654897. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any 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 appears to introduce 1 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/2440/testReport/ This message is automatically generated. This looks good, except for the findbugs warning for the unused numOfMapOutputPartitionFields. This should have a test case also.
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381801/3341-3.patch against trunk revision 654973. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 8 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 passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2443/testReport/ This message is automatically generated. Owen, any chance you can take a look at this today? This is a pretty simple case and hopefully it wouldn't take more than 15 minutes.
I don't see any test case for the new stuff here. You would need to create a junit test that sets these attributes and validates the output.
Forgot to do "svn add" for the new test file last time.
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12382335/3341-4.patch against trunk revision 658035. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 11 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 passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2502/testReport/ This message is automatically generated. Sorry for the problem, Owen. Will you take a look again?
I'm sorry Zheng, but I think it would be much better if you used Strings instead of characters for the separators. That would prevent problems like someone putting in "", which would currently get a runtime error, or "xy", which would just silently use "x". I apologize for not catching it sooner.
We should probably file a separate jira for doing the same to TextOutputFormat. Allow multi-character separators in streaming map/reduce input/output.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12384785/3341-5.patch against trunk revision 671563. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 11 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 passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2752/testReport/ This message is automatically generated. The "Test results" showed all tests are passed - why "Hadoop QA" says it's failing "contrib tests"?
> The "Test results" showed all tests are passed - why "Hadoop QA" says it's failing "contrib tests"?
I think there is some wrong in Hudson. I saw this on quite a few Hudson reports. I just committed this. Thanks, Zheng!
Integrated in Hadoop-trunk #535 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/535/
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://issues.apache.org/jira/secure/attachment/12381472/3341-1.patch
against trunk revision 653638.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
+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 passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2404/testReport/



Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2404/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2404/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2404/console
This message is automatically generated.