HA: use substitution token for fencing argument

Key: HADOOP-8007
URL: https://issues.apache.org/jira/browse/HADOOP-8007
Project: Hadoop Common
Issue Type: Sub-task
Components: ha
Affects Versions: HA Branch (HDFS-1623)
Reporter: Eli Collins
Assignee: Eli Collins

Per HADOOP-7983 currently the fencer always passes the target host:port to fence as the first argument to the fence script, it would be better to use a substitution token. That is to say, the user would configure "myfence.sh $TARGETHOST foo bar" and Hadoop would substitute the target. This would allow use of pre-existing scripts that might have a different ordering of arguments without a wrapper.

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommon-dev @
postedJan 30, '12 at 10:13p
activeJan 30, '12 at 10:13p

1 user in discussion

Eli Collins (Created) (JIRA): 1 post



site design / logo © 2022 Grokbase