diff --git a/docs/engine-usage/spark.md b/docs/engine-usage/spark.md index 35429bbd785..be9f208f2ae 100644 --- a/docs/engine-usage/spark.md +++ b/docs/engine-usage/spark.md @@ -184,11 +184,15 @@ Upload the jar package and configuration ```shell # Upload the jar package under the lib of the linkis spark engine (modify the following parameters according to your actual installation directory) cd /appcom/Install/linkis/lib/linkis-engineconn-plugins/spark/dist/3.2.1/lib -hdfs dfs -put *.jar hdfs:///spark/cluster/ +hdfs dfs -put *.jar hdfs:///spark/cluster # Upload the linkis configuration file (modify the following parameters according to your actual installation directory) cd /appcom/Install/linkis/conf -hdfs dfs -put * hdfs:///spark/cluster/ +hdfs dfs -put * hdfs:///spark/cluster + +# Upload hive-site.xml (modify the following parameters according to your actual installation directory) +cd $HIVE_CONF_DIR +hdfs dfs -put hive-site.xml hdfs:///spark/cluster ``` Can pass `linkis.spark.yarn.cluster.jars`parameters to modify`hdfs:///spark/cluster` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/spark.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/spark.md index 7584e6276c8..09c31460f13 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/spark.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/spark.md @@ -182,11 +182,15 @@ Token-User: linkis ```shell # 上传linkis spark引擎的lib下的jar包 (根据您的实际安装目录修改以下参数) cd /appcom/Install/linkis/lib/linkis-engineconn-plugins/spark/dist/3.2.1/lib -hdfs dfs -put *.jar hdfs:///spark/cluster/ +hdfs dfs -put *.jar hdfs:///spark/cluster # 上传linkis 配置文件 (根据您的实际安装目录修改以下参数) cd /appcom/Install/linkis/conf -hdfs dfs -put * hdfs:///spark/cluster/ +hdfs dfs -put * hdfs:///spark/cluster + +# 上传hive-site.xml (根据您的实际安装目录修改以下参数) +cd $HIVE_CONF_DIR +hdfs dfs -put hive-site.xml hdfs:///spark/cluster ``` 可以通过`linkis.spark.yarn.cluster.jars`参数来修改`hdfs:///spark/cluster`