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

HDFS fetchdt command to return error codes on success/failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • tools
    • None

    Description

      The hdfs fetchdt command always returns 0, even when there's been an error (no token issued, no file to load, usage, etc). This means its not that useful as a command line tool for testing or in scripts.

      Proposed: exit non-zero for errors; reuse LaucherExitCodes for these

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: