HDFS-3223. add zkfc to hadoop-daemon.sh script. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-3042@1310620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c42a90bd9e
commit
97804bacd0
@ -139,7 +139,7 @@ case $startStop in
|
|||||||
echo starting $command, logging to $log
|
echo starting $command, logging to $log
|
||||||
cd "$HADOOP_PREFIX"
|
cd "$HADOOP_PREFIX"
|
||||||
case $command in
|
case $command in
|
||||||
namenode|secondarynamenode|datanode|dfs|dfsadmin|fsck|balancer)
|
namenode|secondarynamenode|datanode|dfs|dfsadmin|fsck|balancer|zkfc)
|
||||||
if [ -z "$HADOOP_HDFS_HOME" ]; then
|
if [ -z "$HADOOP_HDFS_HOME" ]; then
|
||||||
hdfsScript="$HADOOP_PREFIX"/bin/hdfs
|
hdfsScript="$HADOOP_PREFIX"/bin/hdfs
|
||||||
else
|
else
|
||||||
|
@ -7,3 +7,5 @@ branch is merged.
|
|||||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||||
|
|
||||||
HDFS-3200. Scope all ZKFC configurations by nameservice (todd)
|
HDFS-3200. Scope all ZKFC configurations by nameservice (todd)
|
||||||
|
|
||||||
|
HDFS-3223. add zkfc to hadoop-daemon.sh script (todd)
|
||||||
|
Loading…
Reference in New Issue
Block a user