Unverified Commit 5195d22c authored by 谢帮桂's avatar 谢帮桂 Committed by GitHub

Update auto.sh

设置hadoop的集群HA名称路径时无法识别,群友提供解决办法。
parent 1f152df3
......@@ -6,6 +6,12 @@ JAR_NAME="./dlink-admin-*.jar"
# 如果需要将FLINK依赖直接加入启动脚本,在SETTING中增加$FLINK_HOME/lib
SETTING="-Dloader.path=./lib,./plugins -Ddruid.mysql.usePingMethod=false"
if [ ! -d ${HADOOP_HOME} ];then
echo 'WARNING!!!...not find HADOOP_HOME for CLASSPATH.'
else
export HADOOP_HOME="${HADOOP_HOME}"
fi
# 首次启动时候自动创建plugins文件夹和引用flink\lib包!
if [ ! -d "./plugins" ];then
echo 'mkdir plugins now'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment