Skip to content

Commit

Permalink
install.sh adjust wds.linkis.keytab.enable
Browse files Browse the repository at this point in the history
  • Loading branch information
casionone committed Jul 4, 2022
1 parent 6a23794 commit 696270a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Expand Up @@ -33,6 +33,11 @@ wds.linkis.mysql.is.encrypt=false
#hive.config.dir=
#spark.config.dir


#wds.linkis.keytab.enable=true
#wds.linkis.keytab.file=/appcom/keytab/


##file path
wds.linkis.filesystem.root.path=file:///tmp/linkis/
wds.linkis.filesystem.hdfs.root.path=hdfs:///tmp/linkis/
Expand Down
4 changes: 2 additions & 2 deletions assembly-combined-package/bin/install.sh
Expand Up @@ -308,8 +308,8 @@ sed -i ${txt} "s#\#spark.config.dir.*#spark.config.dir=$SPARK_CONF_DIR#g" $comm

if [ "true" == "$HADOOP_KERBEROS_ENABLE" ]
then
sed -i ${txt} '$a \wds.linkis.keytab.enable=true' $LINKIS_HOME/conf/linkis.properties
sed -i ${txt} '$a \wds.linkis.keytab.file=$HADOOP_KEYTAB_PATH' $LINKIS_HOME/conf/linkis.properties
sed -i ${txt} "s#\#wds.linkis.keytab.enable.*#wds.linkis.keytab.enable=true#g" $common_conf
sed -i ${txt} "s#\#wds.linkis.keytab.file.*#wds.linkis.keytab.file=$HADOOP_KEYTAB_PATH#g" $common_conf
fi


Expand Down

0 comments on commit 696270a

Please sign in to comment.