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 04437b936a Add some docs for 1.3.0 (#536)
04437b936a is described below
commit 04437b936a90650cb32af99cba737352c571e7bd
Author: Casion <[email protected]>
AuthorDate: Thu Oct 13 20:46:21 2022 +0800
Add some docs for 1.3.0 (#536)
* update release-notes-1.3.0.md
---
blog/2022-10-09-linkis-service-merge.md | 2 +-
docs/user-guide/sso-with-redis.md | 44 ++++++++++++++++++
download/release-notes-1.3.0.md | 48 +++++++++++--------
.../2022-10-09-linkis-service-merge.md | 2 +-
.../current/release-notes-1.2.0.md | 9 ++--
.../current/release-notes-1.3.0.md | 54 +++++++++++++---------
.../current/release.md | 8 +++-
.../current/user-guide/sso-with-redis.md | 47 +++++++++++++++++++
8 files changed, 164 insertions(+), 50 deletions(-)
diff --git a/blog/2022-10-09-linkis-service-merge.md
b/blog/2022-10-09-linkis-service-merge.md
index f3eb950314..4990101fba 100644
--- a/blog/2022-10-09-linkis-service-merge.md
+++ b/blog/2022-10-09-linkis-service-merge.md
@@ -1,5 +1,5 @@
---
-title: Apache Linkis1.3.0 Service Merge
+title: Apache Linkis 1.3.0 PES(Public Enhancement Services) Some Service Merge
authors: [aiceflower]
tags: [blog,linki1.3.0,service merge]
---
diff --git a/docs/user-guide/sso-with-redis.md
b/docs/user-guide/sso-with-redis.md
new file mode 100644
index 0000000000..d6c303fa33
--- /dev/null
+++ b/docs/user-guide/sso-with-redis.md
@@ -0,0 +1,44 @@
+---
+title: Session Supports Redis Shared Storage
+sidebar_position: 8
+---
+## Background
+Because the original login session does not support distributed storage, for
all requests from the same user, nginx needs to forward the requests to the
same gateway instance to process the requests normally.
+The common solution is to support it by configuring ip hash load balancing on
the ingress nginx.
+However, in the ip hash method, if there is an expansion or contraction of the
server, the hash values of all client ips need to be recalculated, which will
result in session loss.
+Secondly, it is easy to cause data skew problems due to uneven node
distribution.
+In order to optimize the problems existing in the ip hash method, shared
storage is implemented for the session in the login state.
+
+## Implementation plan
+Because session information is mainly identified by ticketId, and all external
entrances are gateways, only the gateway module needs to be modified.
+For the underlying shared storage, choose the mainstream in-memory database
redis. For whether to start redis session storage, it supports configuration
file control.
+The key code change is `userTicketIdToLastAccessTime` of
`org.apache.linkis.server.security.SSOUtils`.
+
+Request process:
+
+`User request -> nginx -> linkis-gateway -> linkis backend service`
+
+
+## How to use
+
+An available reids environment is required to support stand-alone redis and
redis sentinel mode.
+
+After installing and deploying Linkis, modify the configuration file
`${LINKIS_HOME}/conf/linkis.properties`
+```shell script
+#Open redis cache configuration
+linkis.session.redis.cache.enabled=true
+
+
+#single vision
+linkis.session.redis.host=127.0.0.1
+linkis.session.redis.port=6379
+linkis.session.redis.password=test123
+
+# Sentinel mode
+linkis.session.redis.sentinel.master=sentinel-master-name
+linkis.session.redis.sentinel.nodes=192.168.1.1:6381,192.168.2.1:6381,192.168.3.1:6381
+linkis.session.redis.password=test123
+
+````
+
+The gateway can be enabled normally. After starting redis, for multiple
gateway examples, when configuring on the nginx side, you can use the default
load balancing mode of nginx.
\ No newline at end of file
diff --git a/download/release-notes-1.3.0.md b/download/release-notes-1.3.0.md
index 640be05c29..b0b35ca190 100644
--- a/download/release-notes-1.3.0.md
+++ b/download/release-notes-1.3.0.md
@@ -1,18 +1,22 @@
---
-title: Release Notes 1.3.0
-sidebar_position: 11
+title: Release Notes 1.3.0-RC1
+sidebar_position: 0.17
---
Apache Linkis(incubating) 1.3.0 includes all [Project
Linkis-1.3.0](https://github.com/apache/incubator-linkis/projects/14).
-The release of Linkis 1.3.0 mainly supports the deployment of Linkis services
in the Kubernetes environment, including unified image construction, complete
Helm Charts, and complete testing peripherals based on Kind. In addition, some
functional optimizations and bug fixes have been made.
+The release of Linkis 1.3.0 mainly merge some services in the PES(Public
Enhancement Services) service group;
+SSO login session information supports redis memory shared storage, and
supports distributed deployment of gateway services;
+supports the deployment of Linkis services in the Kubernetes environment,
including unified image construction, complete Helm Charts, and complete
testing peripherals based on Kind. In addition, some functional optimizations
and bug fixes have been made.
The main functions are as follows:
+* Merge ps-cs/ps-data-source-manager/ps-metadataquery services into
ps-publicservice to reduce the number of services
+* SSO login session information supports redis memory shared storage, and
supports distributed deployment of gateway services
* Linkis unified image construction for multiple microservices, and adding
actions for automatic image construction
* Added Helm Charts for deploying Linkis as a whole to Kubernetes environment
* Kind-based local Kubernetes test environment support
* Linkis microservice Remote Debug support on Kubernetes environment
-* Added mirror LDH (Linkis Distribution, including Apache Hadoop) build of
Hadoop ecosystem All-in-one
+* Added mirror LDH (Linkis Distribution, including Apache Hadoop) build of
Hadoop ecosystem All-in-one, which supports one-click deployment of Hive/Spark
and other environments and linkis services
* Optimize the performance of distributed locks of Manager, and fix the
problem of slow SQL query caused by high concurrency scenarios
abbreviation:
@@ -34,28 +38,30 @@ abbreviation:
- EP: Engine Plugin
---
-## new features
-+
\[DEPLOY][[LINKIS-2478]](https://github.com/apache/incubator-linkis/pull/2478)
Added git action to automatically build and publish images when publishing
-+
\[DEPLOY][[LINKIS-3441]](https://github.com/apache/incubator-linkis/pull/3441)
Add base image and introduce image cache mechanism for image acceleration
+## New Features
+
\[DEPLOY][[LINKIS-2447]](https://github.com/apache/incubator-linkis/pull/2447)
Add Dockerfile for Linkis backend and frontend service, and add maven profile
to build image
-+
\[DEPLOY][[LINKIS-2446]](https://github.com/apache/incubator-linkis/pull/2446)
Add Helm Charts for Linkis backend and frontend services, and Charts for
database initialization job
-+
\[DEPLOY][[LINKIS-2465]](https://github.com/apache/incubator-linkis/pull/2465)
Add login-pod and remote-debug-proxy to facilitate debugging in k8s environment
-+
\[DEPLOY][[LINKIS-2540]](https://github.com/apache/incubator-linkis/pull/2540)
Introduce LDH (Linkis Distribution, including Hadoop) image, integrate
Hadoop/Spark/Flink/Hive etc. to facilitate testing
-+ \[EP][[LINKIS-2916]](https://github.com/apache/incubator-linkis/pull/2916)
Add EnginePlugin management module
-+
\[COMMON][[LINKIS-3231]](https://github.com/apache/incubator-linkis/pull/3231)
Add SQL DDL/DML git action check
-+ \[CG][[LINKIS-3201]](https://github.com/apache/incubator-linkis/pull/3201)
Added configuration item to support skipping Python code parsing
-+ \[ECP][[LINKIS-3239]](https://github.com/apache/incubator-linkis/pull/3239)
Optimize the logic of JDBC parameter filling
++
\[DEPLOY][[LINKIS-2465]](https://github.com/apache/incubator-linkis/pull/2465)
Added login-pod and remote-proxy to facilitate quick login and debugging in k8s
environment
++
\[DEPLOY][[LINKIS-2478]](https://github.com/apache/incubator-linkis/pull/2478)
Added Git Action for automatic image building and publishing when publishing
++
\[DEPLOY][[LINKIS-2540]](https://github.com/apache/incubator-linkis/pull/2540)
Introduce LDH (Linkis Distribution, including Hadoop) image, integrate
Hadoop/Spark/Flink/Hive Basic big data environment for easy experience and trial
++
\[DEPLOY][[LINKIS-3441]](https://github.com/apache/incubator-linkis/pull/3441)
Add base image and introduce image cache mechanism to accelerate image build
++ \[ECP][[LINKIS-2916]](https://github.com/apache/incubator-linkis/pull/2916)
Add EnginePlugin management module
++ \[CG][[LINKIS-3201]](https://github.com/apache/incubator-linkis/pull/3201)
Added configuration item to support skipping Python code parsing processing
++
\[Gateway][[LINKIS-2996]](https://github.com/apache/incubator-linkis/pull/2996)
SSO login session information supports Redis memory shared storage, and
supports distributed deployment of gateway services
++
\[COMMON][[LINKIS-3231]](https://github.com/apache/incubator-linkis/pull/3231)
Added automatic verification of SQL DDL/DML Git Action
++
\[EC-JDBC][[LINKIS-3239]](https://github.com/apache/incubator-linkis/pull/3239)
Optimize the logic of JDBC parameter filling
++
\[EC-JDBC][[LINKIS-2927]](https://github.com/apache/incubator-linkis/pull/2927)
Merged some services in the Public Enhancement Services service group
+
## Enhancement
+ \[LM][[LINKIS-2930]](https://github.com/apache/incubator-linkis/pull/2930)
Optimize the performance of the Manager's distributed locks and fix slow SQL
queries caused by high concurrency scenarios question
+ \[EC][[LINKIS-2709]](https://github.com/apache/incubator-linkis/pull/2709)
EC log is added, which can be pushed according to fixed time interval
++ \[EC][[LINKIS-2976]](https://github.com/apache/incubator-linkis/pull/2976)
Refactoring the configuration items of EngineConn
+
\[ENTRANCE][[LINKIS-2713]](https://github.com/apache/incubator-linkis/pull/2713)
Optimize Entrance concurrency
-+
\[Gateway][[LINKIS-2699]](https://github.com/apache/incubator-linkis/pull/2699)
After the user logs in, clear the expired cookie of Gateway to solve the
problem of authentication failure
++
\[Gateway][[LINKIS-2699]](https://github.com/apache/incubator-linkis/pull/2699)
After the user logs in, clear the expired cookies of the Gateway to solve the
problem of authentication failure
+ \[WEB][[LINKIS-2483]](https://github.com/apache/incubator-linkis/pull/2483)
Linkis Web added dependencies install
-+ \[ECP][[LINKIS-2898]](https://github.com/apache/incubator-linkis/pull/2898)
Improve Python testability
++
\[EC-Python][[LINKIS-2898]](https://github.com/apache/incubator-linkis/pull/2898)
Modify the implementation of PY4J_HOME to increase the testability of Python
+
\[COMMON][[LINKIS-2761]](https://github.com/apache/incubator-linkis/pull/2761)
Code formatting enhancements, including scalafmt, spotless, parent pom
adjustments, etc.
-+ \[CG][[LINKIS-2711]](https://github.com/apache/incubator-linkis/pull/2711)
SparkPreExecutionHook refactoring
-+ \[EC][[LINKIS-2976]](https://github.com/apache/incubator-linkis/pull/2976)
Refactoring the configuration items of EngineConn
++ \[CG][[LINKIS-2711]](https://github.com/apache/incubator-linkis/pull/2711)
SparkPreExecutionHook code refactoring
## Bugs Fix
+
\[COMMON][[LINKIS-2769]](https://github.com/apache/incubator-linkis/pull/2769)
fix WebMvcConfigurer issue caused by package conflict
@@ -63,8 +69,10 @@ abbreviation:
+ \[LM][[LINKIS-2892]](https://github.com/apache/incubator-linkis/pull/2892)
Fix Yarn resource capacity calculation error
+ \[CG][[LINKIS-2764]](https://github.com/apache/incubator-linkis/pull/2764)
Fix Python code parser's parsing failure issue
+
\[COMMON][[LINKIS-2756]](https://github.com/apache/incubator-linkis/pull/2756)
fix ResultSet may fail to read
-+
\[COMMON][[LINKIS-3156]](https://github.com/apache/incubator-linkis/pull/3156)
fix variable substitution bug
-+
\[COMMON][[LINKIS-3307]](https://github.com/apache/incubator-linkis/pull/3307)
fix NPE issue for FsPath
++
\[COMMON][[LINKIS-3156]](https://github.com/apache/incubator-linkis/pull/3156)
fix custom variable substitution bug
++
\[COMMON][[LINKIS-3307]](https://github.com/apache/incubator-linkis/pull/3307)
Fix the NPE problem when the FsPath tool class gets the path
++
\[EC-Python][[LINKIS-3202]](https://github.com/apache/incubator-linkis/pull/3156)
fix python watchdog_thread using old method
++
\[EC-Presto][[LINKIS-3342]](https://github.com/apache/incubator-linkis/pull/3342)
Optimize the problem that kill presto engine does not take effect and support
BackQuoted
+ \[EC][[LINKIS-3298]](https://github.com/apache/incubator-linkis/pull/3298)
fix EC indicator update delay
## Thanks
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-blog/2022-10-09-linkis-service-merge.md
b/i18n/zh-CN/docusaurus-plugin-content-blog/2022-10-09-linkis-service-merge.md
index bc8e5312a3..42eb37ec40 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-blog/2022-10-09-linkis-service-merge.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-blog/2022-10-09-linkis-service-merge.md
@@ -1,5 +1,5 @@
---
-title: Apache Linkis1.3.0 Service Merge
+title: Linkis 1.3.0 PES(Public Enhancement Services) 服务组内部分服务的合并
authors: [aiceflower]
tags: [blog,linki1.3.0,service merge]
---
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
index 82d499e60c..eb21a9feef 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.2.0.md
@@ -52,7 +52,7 @@ Linkis 1.2.0 版本发布主要支持Presto和ElasticSearch引擎;对JDBC引
+
\[ECP-JDBC][[LINKIS-2392]](https://github.com/apache/incubator-linkis/pull/2392)
JDBC引擎支持trino
+
\[COMMON][[LINKIS-2415]](https://github.com/apache/incubator-linkis/pull/2415)
支持变量操作
-## Enhancement
+## 增强点
+
\[COMMON][[LINKIS-1411]](https://github.com/apache/incubator-linkis/issues/1411)
移除 sun.misc.BASE64
+
\[COMMON][[LINKIS-1475]](https://github.com/apache/incubator-linkis/issues/1475)
优化代码风格
+ \[LM][[LINKIS-1763]](https://github.com/apache/incubator-linkis/issues/1763)
将非空验证添加到应用列表接口
@@ -101,7 +101,8 @@ Linkis 1.2.0 版本发布主要支持Presto和ElasticSearch引擎;对JDBC引
+
\[ECP-JDBC][[LINKIS-2741]](https://github.com/apache/incubator-linkis/issues/2741)
ConnectionManager中的连接缓存池键值将调整为数据源名称和版本号
+
\[ECP-JDBC][[LINKIS-2743]](https://github.com/apache/incubator-linkis/issues/2743)
JDBC数据源配置优先级定义
-## Bugs Fix
+## 修复功能
+
+
\[PS-RM][[LINKIS-1850]](https://github.com/apache/incubator-linkis/pull/1850)
修复NPE问题
+ \[PE][[LINKIS-1879]](https://github.com/apache/incubator-linkis/issues/1879)
FileWriter和BufferedWriter在finally子句中没有关闭
+ \[CG][[LINKIS-1911]](https://github.com/apache/incubator-linkis/issues/1911)
修复link-computing-client提交作业失败的问题
@@ -139,10 +140,10 @@ Linkis 1.2.0 版本发布主要支持Presto和ElasticSearch引擎;对JDBC引
+ \[LM][[LINKIS-2688]](https://github.com/apache/incubator-linkis/issues/2688)
升级flink ec的默认EngineType版本
+
\[TOOL][[LINKIS-2701]](https://github.com/apache/incubator-linkis/issues/2701)
修复github repos页面的许可证显示与未知的许可证发现
-## Security related
+## 安全相关
+
\[SPRING][[LINKIS-2395]](https://github.com/apache/incubator-linkis/issues/2395)
SynchronossPartHttpMessageReader应该只在需要时创建临时目录(CVE-2022-2296)
-## Dependency changes
+## 依赖变更
+
\[COMMON]\[CG]\[ECP][[LINKIS-2301]](https://github.com/apache/incubator-linkis/pull/2301)
更新依赖关系以修复CVE
+ \[CG][[LINKIS-2452]](https://github.com/apache/incubator-linkis/issues/2452)
oshi-core 版本升级
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.3.0.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.3.0.md
index dfaab3be80..e186eb5287 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.3.0.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-download/current/release-notes-1.3.0.md
@@ -1,18 +1,20 @@
---
-title: Release Notes 1.3.0
-sidebar_position: 11
+title: Release Notes 1.3.0-RC1
+sidebar_position: 0.17
---
Apache Linkis(incubating) 1.3.0 包括所有 [Project
Linkis-1.3.0](https://github.com/apache/incubator-linkis/projects/14).
-Linkis 1.3.0 版本发布主要支持 Linkis 服务部署在 Kubernetes 环境中,包括统一镜像构建、完整 Helm Charts、基于
Kind 的完整测试周边等。除此之外还做了一些功能的优化和 bug 修复。
+Linkis 1.3.0 版本发布主要进行了 PES(Public Enhancement Services) 服务组内部分服务的合并;SSO
登陆会话信息支持 redis 内存共享存储,支持网关服务的gateways分布式部署 ;支持 Linkis 服务部署在 Kubernetes
环境中,包括统一镜像构建、完整 Helm Charts、基于 Kind 的完整测试周边等。除此之外还做了一些功能的优化和 bug 修复。
主要功能如下:
+* 将 ps-cs ps-data-source-manager ps-metadataquery 服务合并至
ps-publicservice,减少服务数量
+* SSO 登陆会话信息支持 redis 内存共享存储,支持网关服务的gateways分布式部署
* Linkis 多个微服务的统一镜像构建,以及增加 action 进行镜像自动构建
* 增加将 Linkis 整体部署到 Kubernetes 环境中的 Helm Charts
* 基于 Kind 的本地 Kubernetes 测试环境支持
* Kubernetes 环境上 Linkis 微服务 Remote Debug 支持
-* 增加 Hadoop 生态 All-in-one 的镜像 LDH(Linkis Distribution, including Apache
Hadoop) 构建
+* 增加 Hadoop 生态 All-in-one 的镜像 LDH(Linkis Distribution, including Apache
Hadoop) 构建,支持一键部署体验版的Hive/Spark等环境和 linkis 服务
* 优化 Manager 的分布式锁的性能,修复高并发场景下导致的 SQL 慢查询问题
缩写:
@@ -35,39 +37,47 @@ Linkis 1.3.0 版本发布主要支持 Linkis 服务部署在 Kubernetes 环境
---
## 新特性
-+
\[DEPLOY][[LINKIS-2478]](https://github.com/apache/incubator-linkis/pull/2478)
增加 git action 用于发布时镜像自动构建和发布
-+
\[DEPLOY][[LINKIS-3441]](https://github.com/apache/incubator-linkis/pull/3441)
增加 base 镜像,并引入镜像缓存机制用于镜像加速
-+
\[DEPLOY][[LINKIS-2447]](https://github.com/apache/incubator-linkis/pull/2447)
为 Linkis 的后端和前端服务增加 Dockerfile,并增加 maven profile 来 build 镜像
+
+
\[DEPLOY][[LINKIS-2446]](https://github.com/apache/incubator-linkis/pull/2446)
为 Linkis 的后端和前端服务增加 Helm Charts,以及数据库初始化 Job 的 Charts
-+
\[DEPLOY][[LINKIS-2465]](https://github.com/apache/incubator-linkis/pull/2465)
增加 login-pod 和 remote-debug-proxy 方便 k8s 环境下进行调试
-+
\[DEPLOY][[LINKIS-2540]](https://github.com/apache/incubator-linkis/pull/2540)
引入 LDH (Linkis Distribution, including Hadoop) 镜像,集成 Hadoop/Spark/Flink/Hive
等方便测试
-+ \[EP][[LINKIS-2916]](https://github.com/apache/incubator-linkis/pull/2916)
增加 EnginePlugin 管理模块
-+
\[COMMON][[LINKIS-3231]](https://github.com/apache/incubator-linkis/pull/3231)
增加 SQL DDL/DML 的 git action 的校验
-+ \[CG][[LINKIS-3201]](https://github.com/apache/incubator-linkis/pull/3201)
增加配置项支持跳过 Python 代码解析
-+ \[ECP][[LINKIS-3239]](https://github.com/apache/incubator-linkis/pull/3239)
优化 JDBC 参数填充的逻辑
++
\[DEPLOY][[LINKIS-2447]](https://github.com/apache/incubator-linkis/pull/2447)
为 Linkis 的后端和前端服务增加 Dockerfile,并增加 maven profile 来 build 镜像
++
\[DEPLOY][[LINKIS-2465]](https://github.com/apache/incubator-linkis/pull/2465)
增加 login-pod 和 remote-proxy 方便 k8s 环境下进行快速登录和开启调试
++
\[DEPLOY][[LINKIS-2478]](https://github.com/apache/incubator-linkis/pull/2478)
增加 Git Action 用于发布时镜像自动构建和发布
++
\[DEPLOY][[LINKIS-2540]](https://github.com/apache/incubator-linkis/pull/2540)
引入 LDH (Linkis Distribution, including Hadoop) 镜像,集成 Hadoop/Spark/Flink/Hive
基础大数据环境,方便体验试用
++
\[DEPLOY][[LINKIS-3441]](https://github.com/apache/incubator-linkis/pull/3441)
增加 base 镜像,并引入镜像缓存机制用于镜像构建的加速
++ \[ECP][[LINKIS-2916]](https://github.com/apache/incubator-linkis/pull/2916)
增加 EnginePlugin 管理模块
++ \[CG][[LINKIS-3201]](https://github.com/apache/incubator-linkis/pull/3201)
增加配置项支持跳过 Python 代码解析处理
++
\[Gateway][[LINKIS-2996]](https://github.com/apache/incubator-linkis/pull/2996)
SSO 登陆会话信息支持 Redis 内存共享存储,支持网关服务的gateways分布式部署
++
\[COMMON][[LINKIS-3231]](https://github.com/apache/incubator-linkis/pull/3231)
增加 SQL DDL/DML 的 Git Action 的自动校验
++
\[EC-JDBC][[LINKIS-3239]](https://github.com/apache/incubator-linkis/pull/3239)
优化 JDBC 参数填充的逻辑
++
\[EC-JDBC][[LINKIS-2927]](https://github.com/apache/incubator-linkis/pull/2927)
进行了 Public Enhancement Services 服务组内部分服务的合并
+
+## 增强点
-## Enhancement
+ \[LM][[LINKIS-2930]](https://github.com/apache/incubator-linkis/pull/2930)
优化 Manager 的分布式锁的性能,修复高并发场景下导致的 SQL 慢查询问题
+ \[EC][[LINKIS-2709]](https://github.com/apache/incubator-linkis/pull/2709)
EC 日志增加,可以根据固定时间间隔进行推送
++ \[EC][[LINKIS-2976]](https://github.com/apache/incubator-linkis/pull/2976)
EngineConn 的配置项整理重构
+
\[ENTRANCE][[LINKIS-2713]](https://github.com/apache/incubator-linkis/pull/2713)
优化 Entrance 的并发
-+
\[Gateway][[LINKIS-2699]](https://github.com/apache/incubator-linkis/pull/2699)
等用户登录之后清除 Gateway 的过期 cookie 解决验证失败的问题
++
\[Gateway][[LINKIS-2699]](https://github.com/apache/incubator-linkis/pull/2699)
用户登录后,进行Gateway 的过期 cookie 清除,解决验证失败的问题
+ \[WEB][[LINKIS-2483]](https://github.com/apache/incubator-linkis/pull/2483)
Linkis Web 增加 dependencies install
-+ \[ECP][[LINKIS-2898]](https://github.com/apache/incubator-linkis/pull/2898)
增强 Python 的测试性
++
\[EC-Python][[LINKIS-2898]](https://github.com/apache/incubator-linkis/pull/2898)
修改 PY4J_HOME的实现,增加Python 的可测试性
+
\[COMMON][[LINKIS-2761]](https://github.com/apache/incubator-linkis/pull/2761)
代码格式增强,包括 scalafmt, spotless, parent pom 调整等
-+ \[CG][[LINKIS-2711]](https://github.com/apache/incubator-linkis/pull/2711)
SparkPreExecutionHook 重构
-+ \[EC][[LINKIS-2976]](https://github.com/apache/incubator-linkis/pull/2976)
EngineConn 的配置项整理重构
++ \[CG][[LINKIS-2711]](https://github.com/apache/incubator-linkis/pull/2711)
SparkPreExecutionHook 代码的重构
+
+
-## Bugs Fix
+## 修复功能
+
\[COMMON][[LINKIS-2769]](https://github.com/apache/incubator-linkis/pull/2769)
修复包冲突导致的 WebMvcConfigurer 问题
+ \[WEB][[LINKIS-2498]](https://github.com/apache/incubator-linkis/pull/2499)
修复 Apache Rat Check 的 bug
+ \[LM][[LINKIS-2892]](https://github.com/apache/incubator-linkis/pull/2892)
修复 Yarn 资源 capacity 计算错误的问题
+ \[CG][[LINKIS-2764]](https://github.com/apache/incubator-linkis/pull/2764)
修复 Python 代码解析器的解析失败问题
+
\[COMMON][[LINKIS-2756]](https://github.com/apache/incubator-linkis/pull/2756)
修复 ResultSet 可能读取失败的问题
-+
\[COMMON][[LINKIS-3156]](https://github.com/apache/incubator-linkis/pull/3156)
修复变量替换的 bug
-+
\[COMMON][[LINKIS-3307]](https://github.com/apache/incubator-linkis/pull/3307)
修复 FsPath 的 NPE 问题
++
\[COMMON][[LINKIS-3156]](https://github.com/apache/incubator-linkis/pull/3156)
修复自定义变量替换的 bug
++
\[COMMON][[LINKIS-3307]](https://github.com/apache/incubator-linkis/pull/3307)
修复 FsPath 工具类在获取路径是存在的 NPE 问题
++
\[EC-Python][[LINKIS-3202]](https://github.com/apache/incubator-linkis/pull/3156)
修复 python watchdog_thread 使用了废弃老方法问题
++
\[EC-Presto][[LINKIS-3342]](https://github.com/apache/incubator-linkis/pull/3342)
优化 kill presto 引擎未生效问题以及支持 BackQuoted
+ \[EC][[LINKIS-3298]](https://github.com/apache/incubator-linkis/pull/3298)
修复 EC 的指标更新延迟的问题
## 致谢
-Apache Linkis(incubating)
1.3.0的发布离不开Linkis社区的贡献者,感谢所有的社区贡献者,包括但不仅限于以下Contributors(排名不发先后):
+Apache Linkis(incubating) 1.3.0 的发布离不开 Linkis 社区的贡献者,感谢所有的社区贡献者,包括但不仅限于以下
Contributors(排名不发先后):
AaronLinOops, Alexkun, jacktao007, legendtkl, peacewong, casionone,
QuintinTao, cydenghua, jackxu2011, ruY9527, huiyuanjjjjuice,
binbinCheng, yyuser5201314, Beacontownfc, duhanmin, whiterxine, aiceflower,
weipengfei-sj, zhaoyun006, CCweixiao, Beacontownfc, mayinrain
\ No newline at end of file
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
index 0b615b5aaf..b6aeaa085c 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/release.md
@@ -2,8 +2,12 @@
title: 版本总览
sidebar_position: 0.1
---
-- [Linkis 容器化构建](/development/linkis-docker-build-instrument.md)
-- [Linkis 容器化开发调试](/development/linkis-docker-build-instrument.md)
+- [Linkis 容器化构建流程](/development/linkis-docker-build-instrument.md)
+- [Linkis 容器化体验版 LDH 快速部署](/development/linkis-debug-with-helm-charts.md)
+- [Linkis 容器化开发调试](development/linkis-debug-with-helm-charts.md)
+- [PES 公共服务组服务合并详情](/blog/2022/10/09/linkis-service-merge)
+- [Session 支持 Redis 共享存储](/user-guide/sso-with-redis.md)
+
## 参数变化
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/sso-with-redis.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/sso-with-redis.md
new file mode 100644
index 0000000000..6f3eb31cbf
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/sso-with-redis.md
@@ -0,0 +1,47 @@
+---
+title: Session 支持 Redis 共享存储
+sidebar_position: 8
+---
+## 背景
+因为原有的登陆 session 未支持分布式存储,对于同一个用户的所有请求,需要 nginx 转发请求到同一个 gateway 实例上,才能正常处理请求。
+常用的解决方式是通过在入口 nginx 上通过配置 ip hash 负载均衡的方式来支持。
+但是ip hash 方式 如果存在服务器的扩容与缩容时,所有客户端ip的 hash 值都需要重新计算,会导致会话丢失,
+其次容易因为节点分部不均匀⽽造成数据倾斜问题。为了优化 ip hash 方式存在的问题,对登陆态的 session 实现共享存储
+
+
+## 实现方案
+因为会话信息主要是通过 ticketId 来标识,所有对外入口为 gateway,所以只需要对 gateway 模块进行改造。
+对于底层的共享存储,选择主流的内存数据库 redis。对于是否启动 redis 会话存储,支持通过配置文件控制。
+关键代码改动为 `org.apache.linkis.server.security.SSOUtils` 的
`userTicketIdToLastAccessTime`。
+
+请求流程:
+
+`用户请求 -> nginx -> linkis-gateway -> linkis 后端服务`
+
+
+## 使用方式
+
+需要可用的 reids 环境,支持单机版redis和redis 哨兵模式。
+
+安装部署Linkis 后,修改配置文件 `${LINKIS_HOME}/conf/linkis.properties`
+```shell script
+#开启redis cache配置
+linkis.session.redis.cache.enabled=true
+
+
+#单机版
+linkis.session.redis.host=127.0.0.1
+linkis.session.redis.port=6379
+linkis.session.redis.password=test123
+
+# 哨兵模式
+linkis.session.redis.sentinel.master=sentinel-master-name
+linkis.session.redis.sentinel.nodes=192.168.1.1:6381,192.168.2.1:6381,192.168.3.1:6381
+linkis.session.redis.password=test123
+
+```
+
+正常启用 gateway 即可,启动 redis 后,对于多个 gateway 示例,在 nginx 侧配置时,可以使用 nginx 默认负载均衡模式。
+
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]