[
https://issues.apache.org/jira/browse/HADOOP-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570932#action_12570932
]
Allen Wittenauer commented on HADOOP-2861:
------------------------------------------
I tend to view 'allocate', 'deallocate', etc, as subcommands. It is pretty
common in a lot of the more modern UNIX utilities to do something as was
previously suggested:
hod allocate blah
when dealing with subcommands. It also tends to 'look' like Hadoop.
A good model to look at might be Sun's zfs(1M) command in Solaris. [
http://docs.sun.com/app/docs/doc/819-2240/zfs-1m ] It has similar types of
requirements as a hod command would.
> [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.