浏览代码

svn merge -c 1358788 FIXES: MAPREDUCE-2220. Fix new API FileOutputFormat-related typos in mapred-default.xml. Contributed by Rui Kubo. (harsh)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1360253 13f79535-47bb-0310-9956-ffa450edef68
Robert Joseph Evans 13 年之前
父节点
当前提交
f65cf2cf5e

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -53,6 +53,9 @@ Release 0.23.3 - UNRELEASED
     MAPREDUCE-3907. Document entries mapred-default.xml for the
     MAPREDUCE-3907. Document entries mapred-default.xml for the
     jobhistory server. (Eugene Koontz via harsh)
     jobhistory server. (Eugene Koontz via harsh)
 
 
+    MAPREDUCE-2220. Fix new API FileOutputFormat-related typos in
+    mapred-default.xml (Rui Kubo via harsh)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     MAPREDUCE-3850. Avoid redundant calls for tokens in TokenCache (Daryn
     MAPREDUCE-3850. Avoid redundant calls for tokens in TokenCache (Daryn

+ 2 - 2
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml

@@ -692,7 +692,7 @@
 </property>
 </property>
 
 
 <property>
 <property>
-  <name>mapreduce.output.fileoutputformat.compression.type</name>
+  <name>mapreduce.output.fileoutputformat.compress.type</name>
   <value>RECORD</value>
   <value>RECORD</value>
   <description>If the job outputs are to compressed as SequenceFiles, how should
   <description>If the job outputs are to compressed as SequenceFiles, how should
                they be compressed? Should be one of NONE, RECORD or BLOCK.
                they be compressed? Should be one of NONE, RECORD or BLOCK.
@@ -700,7 +700,7 @@
 </property>
 </property>
 
 
 <property>
 <property>
-  <name>mapreduce.output.fileoutputformat.compression.codec</name>
+  <name>mapreduce.output.fileoutputformat.compress.codec</name>
   <value>org.apache.hadoop.io.compress.DefaultCodec</value>
   <value>org.apache.hadoop.io.compress.DefaultCodec</value>
   <description>If the job outputs are compressed, how should they be compressed?
   <description>If the job outputs are compressed, how should they be compressed?
   </description>
   </description>