[
https://issues.apache.org/jira/browse/HDFS-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2487:
------------------------------
Attachment: hdfs-2487.txt
Here's a patch which adds an HAAdmin command line tool.
Its usage output:
{code}
Usage: java HAAdmin
[-transitionToActive <host:port>]
[-transitionToStandby <host:port>]
[-checkHealth <host:port>]
[-help <command>]
{code}
Notes:
- I didn't add it to the bin/hadoop wrapper script since this is mostly going
to be used as a testing tool for now. Actual failovers will be done through the
failover controller.
- Similarly, I didn't try to integrate this with configuration for NN addresses
or anything - this is a patch for common rather than HDFS. I'll move the JIRA
to common.
> HA: Administrative CLI to control HA daemons
> --------------------------------------------
>
> Key: HDFS-2487
> URL: https://issues.apache.org/jira/browse/HDFS-2487
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs client
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Aaron T. Myers
> Assignee: Todd Lipcon
> Attachments: hdfs-2487.txt
>
>
> We'll need to have some way of controlling the HA nodes while they're live,
> probably by adding some more commands to dfsadmin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira