You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Daryn Sharp (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 21:21:58 UTC
[jira] [Created] (HADOOP-8155) Use enum for shell exit codes
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