hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14060) HDFS fetchdt command to return error codes on success/failure
Date Fri, 09 Nov 2018 10:37:00 GMT
Steve Loughran created HDFS-14060:
-------------------------------------

             Summary: HDFS fetchdt command to return error codes on success/failure
                 Key: HDFS-14060
                 URL: https://issues.apache.org/jira/browse/HDFS-14060
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: tools
    Affects Versions: 3.3.0
            Reporter: Steve Loughran


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message