[ 
https://issues.apache.org/jira/browse/HADOOP-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570911#action_12570911
 ] 

Arkady Borkovsky commented on HADOOP-2861:
------------------------------------------

For consistency with Unix commands, maybe

hod -a ~/hod-clusters/test -n 3
hod  -n 3 -a ~/hod-clusters/test
hod -allocate  ~/hod-clusters/test -n 3
and
hod -deallocate  ~/hod-clusters/test 
or 
hod -d  ~/hod-clusters/test 

Regarding using HOD_CLUSTER_DIR:
useful, but not important.  A user may always create and alias,
If implemented, should not be required.  
E.g. if using HOD_CLUSTER_DIR is implemented, and the users says:
>> hod -n 20
the error message should be something like
... hod cluster config name is missing (use option -a or set HOD_CLUSTER_DIR 
variable)

> [HOD] Improve the user interface for the HOD commands
> -----------------------------------------------------
>
>                 Key: HADOOP-2861
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2861
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Hemanth Yamijala
>
> The current command line for HOD is not user-friendly or conventional. 
> Following improvements are required:
> - We shouldn't require the quotes around the operation.
> - Can we define a HOD_CLUSTER_DIR environment variable which would be used by 
> default ?
> With these two, one can imagine a very simple command line for HOD. Something 
> like:
> hod-allocate 3
> hod-deallocate
> hod-allocate 3 ~/hod-clusters/test
> hod-deallocate ~/hod-clusters/test
> This would also be backward compatible for people who're used to the current 
> model.

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