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

HDFS fetchdt command to return error codes on success/failure

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: