From eec82e59e9e4f2a4d014136a5b222279d76165c1 Mon Sep 17 00:00:00 2001 From: Fu Chen Date: Fri, 24 Apr 2015 19:27:00 +0800 Subject: [PATCH] fix Duplicate import bug --- bin/common.sh | 2 +- bin/interpreter.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/common.sh b/bin/common.sh index a825b76799f..6b63a201a34 100644 --- a/bin/common.sh +++ b/bin/common.sh @@ -68,7 +68,7 @@ if [[ -f "${ZEPPELIN_CONF_DIR}/zeppelin-env.sh" ]]; then . "${ZEPPELIN_CONF_DIR}/zeppelin-env.sh" fi -ZEPPELIN_CLASSPATH+=":${ZEPPELIN_CONF_DIR}" +ZEPPELIN_CLASSPATH=":${ZEPPELIN_CONF_DIR}" function addJarInDir(){ if [[ -d "${1}" ]]; then diff --git a/bin/interpreter.sh b/bin/interpreter.sh index 025df362574..012493521c6 100755 --- a/bin/interpreter.sh +++ b/bin/interpreter.sh @@ -52,7 +52,7 @@ ZEPPELIN_CLASSPATH+=":${ZEPPELIN_CONF_DIR}" addJarInDir "${ZEPPELIN_HOME}/zeppelin-interpreter/target/lib" addJarInDir "${INTERPRETER_DIR}" -export CLASSPATH+=":${ZEPPELIN_CLASSPATH}" +export CLASSPATH=":${ZEPPELIN_CLASSPATH}" HOSTNAME=$(hostname) ZEPPELIN_SERVER=org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer