From 0780c8a805ed10418e6e76d3b4b35c50faa68f98 Mon Sep 17 00:00:00 2001 From: jefftlin Date: Fri, 1 Jul 2022 17:10:57 +0800 Subject: [PATCH 1/2] fix pom about sqoop --- docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md | 23 +++++++++++---------- exchangis-plugins/engine/sqoop/pom.xml | 2 +- exchangis-plugins/pom.xml | 1 + 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md b/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md index 125496d2e..90c8e44fc 100644 --- a/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md +++ b/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md @@ -43,30 +43,31 @@ mvn clean install ``` 然后会在该路径下找到sqoop引擎安装包 ``` -{EXCHANGIS_CODE_HOME}/exchangis-plugins/sqoop/target/out/sqoop +{EXCHANGIS_CODE_HOME}/exchangis-plugins/sqoop/target/out ``` ### 开始部署 #### 1)sqoop引擎安装 -1.拿到打包出来的sqoop.zip物料包 +1.拿到打包出来的sqoop物料包,目录结构为: -2.放置到如下目录并进行解压 +```shell +sqoop +-- dist +-- plugin ``` + +2.放置到linkis安装路径的如下目录 + +```shell cd {LINKIS_HOME}/linkis/lib/linkis-engineconn-plugins -unzip.zip -``` -解压出来的目录结构为: -``` -dist -plugin ``` (注意,看当前sqoop引擎对哪些用户有权限,不一定是root) #### 2)重启linkis-engineplugin服务使sqoop引擎生效 -新加入linkis的引擎都要重启linkis的engineplugin服务才会生效,重启脚本为linkis安装目录下的./linkis-daemon.sh,具体步骤如下 -``` +新加入linkis的引擎都要重启linkis的engineplugin服务才会生效,重启脚本为linkis安装目录下的./sbin/linkis-daemon.sh,具体步骤如下 +```shell cd {LINKIS_INSTALL_HOME}/links/sbin/ ./linkis-daemon.sh restart cg-engineplugin ``` diff --git a/exchangis-plugins/engine/sqoop/pom.xml b/exchangis-plugins/engine/sqoop/pom.xml index f475aa57a..345ae5443 100644 --- a/exchangis-plugins/engine/sqoop/pom.xml +++ b/exchangis-plugins/engine/sqoop/pom.xml @@ -23,7 +23,7 @@ linkis org.apache.linkis 1.1.1 - ../../pom.xml + 4.0.0 diff --git a/exchangis-plugins/pom.xml b/exchangis-plugins/pom.xml index 578ffc5bc..1f7ed71d1 100644 --- a/exchangis-plugins/pom.xml +++ b/exchangis-plugins/pom.xml @@ -14,6 +14,7 @@ 1.0.0 exchangis-appconn + engine/sqoop From 31240aa79fc5d248f2c98312f13d6c6aacc32d8c Mon Sep 17 00:00:00 2001 From: jefftlin Date: Mon, 4 Jul 2022 10:46:11 +0800 Subject: [PATCH 2/2] fix exchangis_sqoop_deploy_cn.md --- docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md b/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md index 90c8e44fc..8640ff7ef 100644 --- a/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md +++ b/docs/zh_CN/ch1/exchangis_sqoop_deploy_cn.md @@ -22,8 +22,7 @@ Sqoop引擎主要依赖Hadoop基础环境,如果该节点需要部署Sqoop引 | Linkis系统参数 | 参数 | 备注 | | --------------------------- | ------------------------------- | ------------------------------------------------------------ | | wds.linkis.hadoop.site.xml | 设置sqoop加载hadoop参数文件位置 | 必须,参考示例:"/etc/hadoop/conf/core-site.xml;/etc/hadoop/conf/hdfs-site.xml;/etc/hadoop/conf/yarn-site.xml;/etc/hadoop/conf/mapred-site.xml" | -| sqoop.fetch.status.interval | 设置获取sqoop执行状态的间隔时间 | 非必须,默认值为5s - +| sqoop.fetch.status.interval | 设置获取sqoop执行状态的间隔时间 | 非必须,默认值为5s | ### 安装包准备 #### 1)下载二进制包