hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8155) Use enum for shell exit codes
Date Thu, 08 Mar 2012 20:21:58 GMT
Use enum for shell exit codes

                 Key: HADOOP-8155
                 URL: https://issues.apache.org/jira/browse/HADOOP-8155
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 0.23.0, 0.24.0
            Reporter: Daryn Sharp
            Priority: Minor

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message