hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8007) HA: use substitution token for fencing argument
Date Wed, 04 Apr 2012 06:57:22 GMT

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

Aaron T. Myers commented on HADOOP-8007:
----------------------------------------

Oh, one little thing: please add a method comment to HAServiceTarget#addFencingParameters.
Subclass implementers will appreciate it.
                
> HA: use substitution token for fencing argument
> -----------------------------------------------
>
>                 Key: HADOOP-8007
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8007
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ha
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Todd Lipcon
>         Attachments: hadoop-8007.txt
>
>
> 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

        

Mime
View raw message