hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Sohn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6807) mapred pipes usage is non-standard and redundant
Date Thu, 03 Nov 2016 21:06:59 GMT
Grant Sohn created MAPREDUCE-6807:

             Summary: mapred pipes usage is non-standard and redundant
                 Key: MAPREDUCE-6807
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6807
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: client, mrv1
    Affects Versions: 2.6.0
            Reporter: Grant Sohn
            Priority: Trivial

Running "mapred pipes" returns:

bin/hadoop pipes
  [-input <path>] // Input directory
  [-output <path>] // Output directory
  [-jar <jar file> // jar filename
  [-inputformat <class>] // InputFormat class
  [-map <class>] // Java Map class
  [-partitioner <class>] // Java Partitioner
  [-reduce <class>] // Java Reduce class
  [-writer <class>] // Java RecordWriter
  [-program <executable>] // executable URI
  [-reduces <num>] // number of reduces
  [-lazyOutput <true/false>] // createOutputLazily

No Hadoop CLI uses // comments in the help.  Most of them follow the
pattern similar to UNIX/Linux man page styling:


It should be look like this since the comments are really redundant:

usage: bin/mapred pipes
  [-input <path>] 
  [-output <path>] 
  [-jar <jar file>]
  [-inputformat <class>] 
  [-map <class>] 
  [-partitioner <class>] 
  [-reduce <class>] 
  [-writer <class>] 
  [-program <executable URI>] 
  [-reduces <num>] 
  [-lazyOutput <true/false>] 

then the parameters can be expanded upon in the section below.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org

View raw message