You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by GitBox <gi...@apache.org> on 2022/06/08 06:52:57 UTC

[GitHub] [incubator-linkis-website] binbinCheng opened a new pull request, #318: Scripts working with documents

binbinCheng opened a new pull request, #318:
URL: https://github.com/apache/incubator-linkis-website/pull/318

   Format modification and addition of detailed description diagram of operation process for Chinese and English documents of scripts tool


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org


[GitHub] [incubator-linkis-website] casionone commented on a diff in pull request #318: Scripts working with documents

Posted by GitBox <gi...@apache.org>.
casionone commented on code in PR #318:
URL: https://github.com/apache/incubator-linkis-website/pull/318#discussion_r893003149


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/engine_usage/pipeline.md:
##########
@@ -0,0 +1,108 @@
+---
+title: pipeline 引擎
+sidebar_position: 10
+---
+
+本文主要介绍`pipeline`(>=1.1.0版本支持)引擎的配置、部署和使用。
+
+## 1 环境要求
+
+如果您希望部署使用`pipeline`引擎,您需要准备一套可用的`pipeline`环境。
+
+## 2 配置和部署
+
+### 2.1 版本的选择和编译
+注意: 编译`pipeline`引擎之前需要进行linkis项目全量编译  
+目前`pipeline`引擎,需自行安装部署
+
+发布的安装部署包中默认不包含此引擎插件,
+你可以按此指引部署安装 https://linkis.apache.org/zh-CN/blog/2022/04/15/how-to-download-engineconn-plugin
+或者按以下流程,手动编译部署
+
+单独编译`pipeline`
+
+```
+${linkis_code_dir}/linkis-enginepconn-pugins/engineconn-plugins/pipeline/
+mvn clean install
+```
+
+### 2.2 物料的部署和加载
+
+将 2.1 步编译出来的引擎包,位于
+
+```bash
+${linkis_code_dir}/linkis-engineconn-plugins/engineconn-plugins/pipeline/target/out/pipeline
+```
+上传到服务器的引擎目录下
+
+```bash 
+${LINKIS_HOME}/lib/linkis-engineplugins
+```
+
+并重启linkis-engineplugin进行引擎刷新
+```bash
+cd ${LINKIS_HOME}/sbin
+sh linkis-daemon.sh restart cg-engineplugin
+```
+或通过引擎接口进行刷新,引擎放置到对应目录后,通过http接口向linkis-cg-engineconnplugin 服务发送刷新请求即可。
+
+- 接口 `http://${engineconn-plugin-server-IP}:${port}/api/rest_j/v1/rpc/receiveAndReply`
+
+- 请求方式 `POST`
+
+```json
+{
+  "method": "/enginePlugin/engineConn/refreshAll"
+}
+```
+检查引擎是否刷新成功:如果在刷新过程中遇到问题,需要确认是否刷新成功,则可以查看数据库中的linkis_engine_conn_plugin_bml_resources这张表的last_update_time是否为触发刷新的时间。
+
+```sql
+#登陆到linkis的数据库 
+select *  from linkis_cg_engine_conn_plugin_bml_resources
+```
+
+### 2.3 引擎的标签
+
+Linkis1.X是通过标签来进行的,所以需要在我们数据库中插入数据,插入的方式如下文所示。
+
+[EngineConnPlugin引擎插件安装](deployment/engine_conn_plugin_installation.md) 
+
+
+## 3 引擎的使用
+
+因为`pipeline`引擎主要用来导入导出文件为主,现在我们假设从A向B导入文件最为介绍案例
+
+### 3.1 新建脚本 
+工作空间模块右键选择新建一个类型为`storage`的脚本
+
+![](/Images-zh/EngineConnNew/new_pipeline_script.png)
+
+### 3.2 编写脚本

Review Comment:
   Seems to only support certain file type operations



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/engine_usage/pipeline.md:
##########
@@ -0,0 +1,108 @@
+---
+title: pipeline 引擎
+sidebar_position: 10
+---
+
+本文主要介绍`pipeline`(>=1.1.0版本支持)引擎的配置、部署和使用。
+
+## 1 环境要求
+
+如果您希望部署使用`pipeline`引擎,您需要准备一套可用的`pipeline`环境。

Review Comment:
   @binbinCheng 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org


[GitHub] [incubator-linkis-website] casionone merged pull request #318: Scripts working with documents

Posted by GitBox <gi...@apache.org>.
casionone merged PR #318:
URL: https://github.com/apache/incubator-linkis-website/pull/318


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org


[GitHub] [incubator-linkis-website] casionone commented on a diff in pull request #318: Scripts working with documents

Posted by GitBox <gi...@apache.org>.
casionone commented on code in PR #318:
URL: https://github.com/apache/incubator-linkis-website/pull/318#discussion_r893002457


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/engine_usage/pipeline.md:
##########
@@ -0,0 +1,108 @@
+---
+title: pipeline 引擎
+sidebar_position: 10
+---
+
+本文主要介绍`pipeline`(>=1.1.0版本支持)引擎的配置、部署和使用。
+
+## 1 环境要求
+
+如果您希望部署使用`pipeline`引擎,您需要准备一套可用的`pipeline`环境。

Review Comment:
   No need for this requirement
   "您需要准备一套可用的`pipeline`环境" What does this mean? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org