[
https://issues.apache.org/jira/browse/HDFS-17578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865272#comment-17865272
]
ASF GitHub Bot commented on HDFS-17578:
---------------------------------------
fuchaohong commented on PR #6936:
URL: https://github.com/apache/hadoop/pull/6936#issuecomment-2224260458
Using the shell fencing method.
`dfs.ha.fencing.methods=shell(/path/fence.sh)`
Environment variables with "-" cannot be used in /path/fence.sh.
@Hexiaoqiao, Thanks.
> ShellCommandFencer#setConfAsEnvVars should also replace '-' with '_'.
> ---------------------------------------------------------------------
>
> Key: HDFS-17578
> URL: https://issues.apache.org/jira/browse/HDFS-17578
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: fuchaohong
> Priority: Major
> Labels: pull-request-available
>
> When setting configuration into environment variables, '-' should also be
> replaced with '_'.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]