[
https://issues.apache.org/jira/browse/HADOOP-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated HADOOP-2861:
--------------------------------------------
Attachment: hadoop-2861
Final interface, after discussions and following suggested changes:
general help
* hod help or hod --help
* hod --verbose-help
Help on a particular operation
* hod help <allocate|deallocate|list|info|script|help|options>
hod allocate -d clusterdir -n nodecount [OPTIONS]
hod list [OPTIONS]
hod info -d clusterdir [OPTIONS]
hod deallocate -d clusterdir [OPTIONS]
hod script -d clusterdir -s scrip_file -n nodecount [OPTIONS]
Attaching a patch. This has documentation changes also.
> [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
> Assignee: Vinod Kumar Vavilapalli
> Fix For: 0.16.1
>
> Attachments: hadoop-2861
>
>
> 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.