|
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376696/patch.2096.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 620 javac compiler warnings (more than the trunk's current 619 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1859/testReport/ This message is automatically generated. I think the extra javac warning is due to the @SuppressWarnings("unchecked") public void write(WritableComparable key, Writable value) throws IOException { // get the file name based on the key String keyBasedPath = generateFileNameForKey(key, myName); // get the file name based on the input file name String finalPath = getInputFileBasedOutputFileName(myJob, keyBasedPath); // get the actual key WritableComparable actualKey = generateActualKey(key); RecordWriter rw = this.recordWriters.get(finalPath); if (rw == null) { // if we don't have the record writer yet for the final path, create one // and add it to the cache rw = getRecordWriter_inner(myFS, myJob, finalPath, myProgressable); this.recordWriters.put(finalPath, rw); } rw.write(actualKey, value); }; Since javac warns about Finally managed to get rid of the javac warning -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376745/patch.2096.1.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 616 javac compiler warnings (more than the trunk's current 615 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests -1. The patch failed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1862/testReport/ This message is automatically generated. There was a javac warning in the test class. Incorporate some feedback comments
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376775/patch.2096.2.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests -1. The patch failed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1869/testReport/ This message is automatically generated. -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12376785/patch.2096.3.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests -1. The patch failed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1872/testReport/ This message is automatically generated. Previously attached patch was wrong. A couple suggestions:
Otherwise, +1 I would suggest changing the name of the property from "num.of.trailing.legs.to.use" to something that reflects the hierarchy in which the property lives. Maybe something like mapred.output.format.multi.trailingLegs or similar.
replaced the attribute name "num.of.trailing.legs.to/use' with "mapred.outputformat.numOfTrailingLegs" address the case where the number specified by the above variable is larger than the number of legs +1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12377175/patch.2096.6.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1897/testReport/ This message is automatically generated. I just committed this. Thanks, Runping!
Integrated in Hadoop-trunk #421 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/421/
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The attached patch include a common abstract base class (MultipleOutputFormat) and two concrete classes:
MultipleTextOutputFormat and MultipleSequenceFileOutputFormat. These classes implement the default behaviors,
which are the same as TextOutputFormat class and SequenceFileOutputFormat class, respectively.
The users can subclass these classes and overwrite one of the protected method to implement a specific logic
of writing data to different output files.
The patch also contains a test case, which also illustrates two special ways of using these classes.