[ https://issues.apache.org/jira/browse/HADOOP-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246074#comment-13246074 ]
Aaron T. Myers commented on HADOOP-8007: ---------------------------------------- +1, the patch looks good to me. Thanks a lot for doing this, Todd. Please do file the separate JIRA for the docs, and I'll be happy to review those as well. > 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