hod gives wrong exit code if provided invalid directory and invalid number of 
nodes.
------------------------------------------------------------------------------------

                 Key: HADOOP-2967
                 URL: https://issues.apache.org/jira/browse/HADOOP-2967
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hod
    Affects Versions: 0.16.1
            Reporter: Karam Singh
            Priority: Minor


Run hod as -:
hod allocate -d invalid_cdir -n 3
(where invalid_cdir does not exist)
or 
hod allocate -d cdir -n -2 (or ab)

hod exit with exit code 1 (Configuration error) where it should exit with exit 
code 3 (Invalid operation arguments)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to