瀏覽代碼

MAPREDUCE-4985. Add compression option to TestDFSIO usage. Contributed by Plamen Jeliazkov.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1467146 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Shvachko 12 年之前
父節點
當前提交
7e12ea395e

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

@@ -40,6 +40,9 @@ Release 2.0.5-beta - UNRELEASED
     time delta between the end of the shuffle and the start of the reduce.
     time delta between the end of the shuffle and the start of the reduce.
     (Omkar Vinit Joshi via vinodkv)
     (Omkar Vinit Joshi via vinodkv)
 
 
+    MAPREDUCE-4985. Add compression option to TestDFSIO usage.
+    (Plamen Jeliazkov via shv)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
   BUG FIXES
   BUG FIXES

+ 1 - 0
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java

@@ -99,6 +99,7 @@ public class TestDFSIO implements Tool {
                     " [genericOptions]" +
                     " [genericOptions]" +
                     " -read [-random | -backward | -skip [-skipSize Size]] |" +
                     " -read [-random | -backward | -skip [-skipSize Size]] |" +
                     " -write | -append | -clean" +
                     " -write | -append | -clean" +
+                    " [-compression codecClassName]" +
                     " [-nrFiles N]" +
                     " [-nrFiles N]" +
                     " [-size Size[B|KB|MB|GB|TB]]" +
                     " [-size Size[B|KB|MB|GB|TB]]" +
                     " [-resFile resultFileName] [-bufferSize Bytes]" +
                     " [-resFile resultFileName] [-bufferSize Bytes]" +