This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new f4891106e Scripts typo modification and partial update of debugging
guidance document (#334)
f4891106e is described below
commit f4891106ecb9db3904eb37d4a3b24b715c0bcff4
Author: 成彬彬 <[email protected]>
AuthorDate: Mon Jun 13 20:09:12 2022 +0800
Scripts typo modification and partial update of debugging guidance document
(#334)
---
docs/deployment/linkis_scriptis_install.md | 10 +++++++++-
docs/development/linkis_debug.md | 12 ++++++++----
.../current/deployment/linkis_scriptis_install.md | 14 +++++++++++---
.../current/development/linkis_debug.md | 11 +++++++----
.../version-1.0.2/development/linkis_debug.md | 8 +++++---
.../version-1.0.3/development/linkis_debug.md | 7 +++++--
.../version-1.1.0/development/linkis_debug.md | 11 +++++++----
.../version-1.1.1/development/linkis_debug.md | 7 +++++--
static/Images/development/debug_application.png | Bin 79154 -> 78783 bytes
static/Images/development/old_debug_application.png | Bin 0 -> 71586 bytes
10 files changed, 57 insertions(+), 23 deletions(-)
diff --git a/docs/deployment/linkis_scriptis_install.md
b/docs/deployment/linkis_scriptis_install.md
index 13c6570b0..192e809bc 100644
--- a/docs/deployment/linkis_scriptis_install.md
+++ b/docs/deployment/linkis_scriptis_install.md
@@ -5,7 +5,7 @@ sidebar_position: 10
## 1. introduce
-> On linkis1.0 and DSS 1.1 After X, scriptpis can be deployed separately to
integrate with linkis. Using the interactive analysis function of scriptis,
scripts such as SQL, pyspark and hiveql can be written online on the web page
and submitted to the linkis executor. It also supports UDF, functions, resource
control, custom variables and other features. This article will introduce how
to deploy the web component scriptis separately and use linkis through such a
web page as scriptis.
+> On linkis1.0 and DSS 1.1 After X, scriptpis can be deployed separately to
integrate with linkis. Using the interactive analysis function of scriptis, you
can write SQL, pyspark, hiveql and other scripts online on the web page, submit
them to linkis for execution, and support UDF, functions, resource control,
user-defined variables and other features. This article will introduce how to
deploy the web component scriptis separately, and use linkis through such a web
page as scriptis.
:::caution be careful
Premise: the linkis service (back-end and management console services) has
been successfully installed and can be used normally. See [rapid deployment of
linkis] (deployment/quick_deploy) for the deployment process of linkis
Example description:
@@ -24,6 +24,14 @@ Example description:
Set node JS download and install. Download address:
http://nodejs.cn/download/ (it is recommended to use the latest stable version)
this step is only required for the first use
```
+### 2.1 install learn
+```shell script
+ #The computer opens the CMD terminal tool and enters the command for global
installation
+ npm install lerna -g
+```
+Wait until the installation is completed. The installation of liarn only needs
to be performed when it is used for the first time
+
+
### 2.2 Get scripts code
> Scriptis is a pure front-end project, which is integrated into the DSS web
> code component as a component. We only need to compile the DSS web project
> with a separate scripts module
diff --git a/docs/development/linkis_debug.md b/docs/development/linkis_debug.md
index 016b5ede6..35a600a2e 100644
--- a/docs/development/linkis_debug.md
+++ b/docs/development/linkis_debug.md
@@ -65,7 +65,7 @@ Because linkis internally uses the -DserviceName parameter to
set the applicatio
You can use the "-Xbootclasspath/a: configuration file path" command. Append
the configuration file to the end of the search path of the bootloader class,
and add the dependent configuration file to the classpath
-By checking Include dependencies with "Provided" scope, you can introduce
provided-level dependency packages during debugging.
+<font color="red"> By checking Include dependencies with "Provided" scope, you
can introduce provided-level dependency packages during debugging. </font>
**Microservice Governance Services component**
@@ -91,7 +91,11 @@ Modify the port:
server:
port: 8080 ##Started port
```
-The specific configuration is as follows
+#####The specific configuration is as follows
+
+Old version idea configuration
+
+New version of idea configuration

After startup, you can view the list of eureka services through
[http://localhost:20303/](http://localhost:20303/)
@@ -118,13 +122,13 @@ Please exclude, the dependency on
spring-boot-starter-logging
```plain
[main Class]
-org.apache.linkis.jobhistory.LinkisPublicServiceApp
+org.apache.linkis.filesystem.LinkisPublicServiceApp
[VM Opitons]
-DserviceName=linkis-ps-publicservice
-Xbootclasspath/a:D:\yourDir\incubator-linkis\assembly-combined-package\assembly-combined\conf
[User classpath of module]
-linkis-jobhistory
+linkis-filesystem
```
### Linkis-ps-cs startup configuration
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
index 1232e92b1..fed7a3f1b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/linkis_scriptis_install.md
@@ -5,15 +5,15 @@ sidebar_position: 10
## 1. 介绍
-> 在Linkis1.0和DSS 1.1.X之后,支持将Scritpis单独部署来集成Linkis,使用Scriptis的交互式分析的功能,可以在web
页面在线写SQL、Pyspark、HiveQL等脚本,提交给Linkis执行具,且支持UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署Web组件-Scriptis,并通过Scriptis这种Web页面来使用Linkis。
+> 在Linkis1.0和DSS 1.1.X之后,支持将Scritpis单独部署来集成Linkis,使用Scriptis的交互式分析的功能,可以在web
页面在线写SQL、Pyspark、HiveQL等脚本,提交给Linkis执行且支持UDF、函数、资源管控和自定义变量等特性,本文将介绍如何单独部署Web组件-Scriptis,并通过Scriptis这种Web页面来使用Linkis。
+
-:::caution 注意
前提:已经成功安装并可以正常使用了linkis服务(后端和管理台服务),linkis的部署流程可以见[Linkis的快速部署](deployment/quick_deploy)
示例说明:
- linkis-gateway服务的地址为10.10.10.10 端口为9001
- linkis的管理台nginx部署在10.10.10.10 端口为8080
-:::
+
@@ -25,6 +25,14 @@ sidebar_position: 10
```shell script
将node.js下载,安装即可。下载地址:http://nodejs.cn/download/ (建议使用最新的稳定版本)
该步骤仅第一次使用时需要执行
```
+### 2.1 安装learn
+```shell script
+ #电脑打开CMD终端工具,输入命令全局安装
+ npm install lerna -g
+```
+等待安装完即可,安装liarn仅第一次使用时需要执行
+
+
### 2.2 获取scriptis代码
> Scriptis是一个纯前端的项目,作为一个组件集成在DSS的web代码组件中,我们只需要将DSS web项目进行单独的scriptis模块编译
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/linkis_debug.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/linkis_debug.md
index dfcb6e228..a077c1c77 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/linkis_debug.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/linkis_debug.md
@@ -62,7 +62,7 @@ Linkis和DSS的服务都依赖Eureka,所以需要首先启动Eureka服务,Eu
可以通过 “-Xbootclasspath/a:配置文件路径“命令。将配置文件,追加到引导程序类的搜索路劲末尾,即将依赖的配置文件加到classpath中
-通过勾选Include dependencies with “Provided” scope ,这样可以在调试时,引入provided级别的依赖包。
+<font color="red"> 通过勾选Include dependencies with “Provided” scope
,这样可以在调试时,引入provided级别的依赖包。</font>
**Microservice Governance Services组件**
@@ -88,7 +88,10 @@ linkis-eureka
server:
port: 8080 ##启动的端口
```
-具体配置如下
+#####具体配置如下:
+ 老版idea配置
+
+ 新版idea配置

启动后可以通过[http://localhost:20303/](http://localhost:20303/) 查看eureka服务列表
@@ -115,13 +118,13 @@ linkis-gateway-server-support
```plain
[main Class]
-org.apache.linkis.jobhistory.LinkisPublicServiceApp
+org.apache.linkis.filesystem.LinkisPublicServiceApp
[VM Opitons]
-DserviceName=linkis-ps-publicservice
-Xbootclasspath/a:D:\yourDir\incubator-linkis\assembly-combined-package\assembly-combined\conf
[User classpath of module]
-linkis-jobhistory
+linkis-filesystem
```
### linkis-ps-cs的启动配置
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.2/development/linkis_debug.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.2/development/linkis_debug.md
index f0f887eae..f0ab1894b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.2/development/linkis_debug.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.2/development/linkis_debug.md
@@ -62,8 +62,7 @@ Linkis和DSS的服务都依赖Eureka,所以需要首先启动Eureka服务,Eu
可以通过 “-Xbootclasspath/a:配置文件路径“命令。将配置文件,追加到引导程序类的搜索路劲末尾,即将依赖的配置文件加到classpath中
-通过勾选Include dependencies with “Provided” scope ,这样可以在调试时,引入provided级别的依赖包。
-
+<font color="red"> 通过勾选Include dependencies with “Provided” scope
,这样可以在调试时,引入provided级别的依赖包。</font>
**Microservice Governance Services组件**
### linkis-mg-eureka的启动
@@ -88,7 +87,10 @@ linkis-eureka
server:
port: 8080 ##启动的端口
```
-具体配置如下
+#####具体配置如下:
+老版idea配置
+
+新版idea配置

启动后可以通过[http://localhost:20303/](http://localhost:20303/) 查看eureka服务列表
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.3/development/linkis_debug.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.3/development/linkis_debug.md
index f0f887eae..015b32d9a 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.3/development/linkis_debug.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.0.3/development/linkis_debug.md
@@ -62,7 +62,7 @@ Linkis和DSS的服务都依赖Eureka,所以需要首先启动Eureka服务,Eu
可以通过 “-Xbootclasspath/a:配置文件路径“命令。将配置文件,追加到引导程序类的搜索路劲末尾,即将依赖的配置文件加到classpath中
-通过勾选Include dependencies with “Provided” scope ,这样可以在调试时,引入provided级别的依赖包。
+<font color="red"> 通过勾选Include dependencies with “Provided” scope
,这样可以在调试时,引入provided级别的依赖包。</font>
**Microservice Governance Services组件**
@@ -88,7 +88,10 @@ linkis-eureka
server:
port: 8080 ##启动的端口
```
-具体配置如下
+#####具体配置如下:
+老版idea配置
+
+新版idea配置

启动后可以通过[http://localhost:20303/](http://localhost:20303/) 查看eureka服务列表
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/development/linkis_debug.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/development/linkis_debug.md
index f0f887eae..17c5a464e 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/development/linkis_debug.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/development/linkis_debug.md
@@ -62,7 +62,7 @@ Linkis和DSS的服务都依赖Eureka,所以需要首先启动Eureka服务,Eu
可以通过 “-Xbootclasspath/a:配置文件路径“命令。将配置文件,追加到引导程序类的搜索路劲末尾,即将依赖的配置文件加到classpath中
-通过勾选Include dependencies with “Provided” scope ,这样可以在调试时,引入provided级别的依赖包。
+<font color="red"> 通过勾选Include dependencies with “Provided” scope
,这样可以在调试时,引入provided级别的依赖包。</font>
**Microservice Governance Services组件**
@@ -88,7 +88,10 @@ linkis-eureka
server:
port: 8080 ##启动的端口
```
-具体配置如下
+#####具体配置如下:
+老版idea配置
+
+新版idea配置

启动后可以通过[http://localhost:20303/](http://localhost:20303/) 查看eureka服务列表
@@ -115,13 +118,13 @@ linkis-gateway-server-support
```plain
[main Class]
-org.apache.linkis.jobhistory.LinkisPublicServiceApp
+org.apache.linkis.filesystem.LinkisPublicServiceApp
[VM Opitons]
-DserviceName=linkis-ps-publicservice
-Xbootclasspath/a:D:\yourDir\incubator-linkis\assembly-combined-package\assembly-combined\conf
[User classpath of module]
-linkis-jobhistory
+linkis-filesystem
```
### linkis-ps-cs的启动配置
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/development/linkis_debug.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/development/linkis_debug.md
index dfcb6e228..1f82fb1e0 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/development/linkis_debug.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.1/development/linkis_debug.md
@@ -62,7 +62,7 @@ Linkis和DSS的服务都依赖Eureka,所以需要首先启动Eureka服务,Eu
可以通过 “-Xbootclasspath/a:配置文件路径“命令。将配置文件,追加到引导程序类的搜索路劲末尾,即将依赖的配置文件加到classpath中
-通过勾选Include dependencies with “Provided” scope ,这样可以在调试时,引入provided级别的依赖包。
+<font color="red"> 通过勾选Include dependencies with “Provided” scope
,这样可以在调试时,引入provided级别的依赖包。</font>
**Microservice Governance Services组件**
@@ -88,7 +88,10 @@ linkis-eureka
server:
port: 8080 ##启动的端口
```
-具体配置如下
+#####具体配置如下:
+老版idea配置
+
+新版idea配置

启动后可以通过[http://localhost:20303/](http://localhost:20303/) 查看eureka服务列表
diff --git a/static/Images/development/debug_application.png
b/static/Images/development/debug_application.png
index f33ac20ee..77671cc4e 100644
Binary files a/static/Images/development/debug_application.png and
b/static/Images/development/debug_application.png differ
diff --git a/static/Images/development/old_debug_application.png
b/static/Images/development/old_debug_application.png
new file mode 100644
index 000000000..aa3bde211
Binary files /dev/null and
b/static/Images/development/old_debug_application.png differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]