Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4134

hadoop namenode & datanode entry points should return negative exit code on bad arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.4
    • 1.1.1
    • namenode
    • None
    • Reviewed

    Description

      When you go hadoop namenode start (or some other bad argument to the namenode), a usage message is generated -but the script returns 0.

      This stops it being a robust command to invoke from other scripts -and is inconsistent with the JT & TT entry points, that do return -1 on a usage message

      Attachments

        1. HDFS-4134.patch
          1 kB
          Steve Loughran

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: