Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9158

Tidy up fs -help

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      There are a number of issues with the current fs -help implementation that could do with tidying up.

      1) Running 'hadoop fs -help' displays the full detailed help for all commands. This produces a large amount of text and makes it hard to find what you're looking for. Better functionality would be:

      • hadoop fs -usage : shows the basic usage information for all commands
      • hadoop fs -help : shows usage and brief summary (couple of lines) for all commands
      • hadoop fs -help <command> : shows full description of the specified command

      2) Help text is hardcoded into each command class. This should be replaced by resource files to allow internationalisation.

      3) Line breaks are hardcoded into the help text. The help text should be auto-formatted at display time.

      Attachments

        1. HADOOP-9158.patch
          57 kB
          Jonathan Allen

        Activity

          People

            jonallen Jonathan Allen
            jonallen Jonathan Allen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: