Hod should have better error messages.
--------------------------------------

                 Key: HADOOP-3151
                 URL: https://issues.apache.org/jira/browse/HADOOP-3151
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hod
            Reporter: Arkady Borkovsky


(1)
gsgw1037:/homes/arkady/CDSR> hod allocate -n 4 -d xx
error: bin/hod failed to start.
error: invalid 'clusterdir' specified in section hod (--hod.clusterdir): xx
error: 1 problem found.
Check your command line options and/or your configuration file 
/grid/0/kryptonite/hod/conf/hodrc

   * Directory 'xx' does not exist - the message shuold say "Non-existing 
directory" (or "directory not found"), not "invalid"
   * checking the configuration file will not help, the advice is confusing
   * checking the command line options is the obvious thing to do -- the advise 
is unnecessary.

(2) when hod does not understand the command, it prints the whole help options 
message -- which clobbers the screen and is confusing. It should give a 
meaningful message -- and may say "type hod help for more info"




-- 
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