HAD-641. Nonstop shell incorrectly sets HADOOP_OPTS

Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/21992313
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/21992313
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/21992313

Branch: refs/heads/master
Commit: 21992313974c6c74316e660224c32c49f42754df
Parents: e9b4880
Author: Konstantin Boudnik <[email protected]>
Authored: Thu Jan 9 14:16:35 2014 -0800
Committer: Konstantin Boudnik <[email protected]>
Committed: Thu Jan 9 14:16:35 2014 -0800

----------------------------------------------------------------------
 bigtop-packages/src/common/wdd-namenode-nonstop/nonstop | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/21992313/bigtop-packages/src/common/wdd-namenode-nonstop/nonstop
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/wdd-namenode-nonstop/nonstop 
b/bigtop-packages/src/common/wdd-namenode-nonstop/nonstop
index afd570d..43eaba9 100755
--- a/bigtop-packages/src/common/wdd-namenode-nonstop/nonstop
+++ b/bigtop-packages/src/common/wdd-namenode-nonstop/nonstop
@@ -82,10 +82,10 @@ if [ "$COMMAND" = "namenode" ] ; then
   HADOOP_OPTS="$HADOOP_OPTS $HADOOP_NAMENODE_OPTS"
 elif [ "$COMMAND" = "nonstop" ] ; then
   CLASS='org.apache.hadoop.hdfs.server.namenode.ConsensusNode'
-  HADOOP_OPTS="$HADOOP_OPTS $HADOOP_ZKFC_OPTS"
+  HADOOP_OPTS="$HADOOP_OPTS $HADOOP_NAMENODE_OPTS"
 elif [ "$COMMAND" = "wan" ] ; then
   CLASS='org.apache.hadoop.hdfs.consensus.wan.GeoNode'
-  HADOOP_OPTS="$HADOOP_OPTS $HADOOP_ZKFC_OPTS"
+  HADOOP_OPTS="$HADOOP_OPTS $HADOOP_NAMENODE_OPTS"
 elif [ "$COMMAND" = "zkfc" ] ; then
   CLASS='org.apache.hadoop.hdfs.tools.DFSZKFailoverController'
   HADOOP_OPTS="$HADOOP_OPTS $HADOOP_ZKFC_OPTS"

Reply via email to