Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install.sh adjust wds.linkis.keytab.enable #2421

Merged
merged 1 commit into from Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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