|
[
Permlink
| « Hide
]
Zheng Shao added a comment - 22/Apr/08 02:06 AM
This patch adds the configuration parameter.
This is great !!!
I have been requesting this for a long time !!!! Thanks Zheng ! Committers, please please please take a serious look at this ! -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380659/3295.patch against trunk revision 645773. @author +1. The patch does not contain any @author tags. tests included -1. The patch doesn't appear to include any 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/2299/testReport/ This message is automatically generated. Zheng, please include a test for the new functionality.
Note that you have made public api changes: public LineRecordWriter(DataOutputStream out)
into public LineRecordWriter(DataOutputStream out, String keyValueSeparator) { It is a better to the keep the original one as an overloaded constructor: public LineRecordWriter(DataOutputStream out) { LineRecordWriter(out, "\t"); } Added a test for customized separator.
Added a constructor with the old prototype to make sure user code does not break because of the patch. +1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380797/3295-2.patch against trunk revision 645773. @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/2312/testReport/ This message is automatically generated. I just committed this. Thanks, Zheng
Integrated in Hadoop-trunk #471 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/471/
Feature added by this Jira has a problem while setting up some of the invalid xml characters e.g. ctrl-A e.g. mapred.textoutputformat.separator = "\u0001"
e,g, Job client serializes the jobconf with mapred.textoutputformat.separator set to "\u0001" (ctrl-A) and problem happens when it is de-serialized (read back) by job tracker, where it encounters invalid xml character. The test for this feature public : testFormatWithCustomSeparator() does not serialize the jobconf after adding the separator as ctrl-A and hence does not detect the specific problem. Here is an exception: 08/12/06 01:40:50 INFO mapred.FileInputFormat: Total input paths to process : 1 at org.apache.hadoop.ipc.Client.call(Client.java:715) Can you open a separate jira and mark this one as related? Then we can discuss from there and produce a fix.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||