HDFS-12783. [branch-2] dfsrouter should use hdfsScript. Contributed by Brahma Reddy Battula
(cherry picked from commit 135abcac4b
)
This commit is contained in:
parent
8746a65e78
commit
53891b7f8f
|
@ -150,7 +150,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|journalnode|dfs|dfsadmin|fsck|balancer|zkfc|portmap|nfs3)
|
namenode|secondarynamenode|datanode|journalnode|dfs|dfsadmin|fsck|balancer|zkfc|portmap|nfs3|dfsrouter)
|
||||||
if [ -z "$HADOOP_HDFS_HOME" ]; then
|
if [ -z "$HADOOP_HDFS_HOME" ]; then
|
||||||
hdfsScript="$HADOOP_PREFIX"/bin/hdfs
|
hdfsScript="$HADOOP_PREFIX"/bin/hdfs
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue