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

Use enum for shell exit codes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.23.0, 0.24.0
    • None
    • fs
    • None

    Description

      FsShell currently returns -1 (syntax error), 0 (success), 1 (error), 130 (hit by interrupt). Uma has suggested that an enum would be a cleaner approach to tracking the exits. DFSAdmin will also require changes to support this improvement since it currently subclasses FsShell.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: