casionone commented on code in PR #758:
URL: https://github.com/apache/linkis-website/pull/758#discussion_r1359471072


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/engine-usage/hbase.md:
##########
@@ -0,0 +1,101 @@
+---
+title: HBase
+sidebar_position: 15
+---
+
+# HBase 引擎使用文档
+
+本文主要介绍在 `Linkis` 中,`HBase` 引擎插件的安装、使用和配置。
+
+## 1. 前置工作
+
+### 1.1 引擎验证
+
+强烈建议您在执行 `HBase` 任务之前,检查下执行用户的这些环境变量。具体方式是
+```
+sudo su - ${username}
+echo ${JAVA_HOME}
+```
+
+## 2. 引擎插件安装
+
+### 2.1 引擎插件准备(二选一)[非默认引擎](./overview.md)
+
+方式一:单独编译引擎插件(需要有 `maven` 环境)
+
+```
+# 编译
+cd ${linkis_code_dir}/linkis-engineconn-plugins/hbase/
+mvn clean install -DskipTests -Dhbase.profile=1.2|1.4|2.2|2.5
+
+# hbase.profile 支持1.2|1.4|2.2|2.5,对应的HBase版本是1.2.0,1.4.3,2.2.6,2.5.3
+# 默认hbase.profile=2.5,按需编译不同HBase版本的插件
+# 编译出来的引擎插件包,位于如下目录中
+${linkis_code_dir}/linkis-engineconn-plugins/hbase/target/out/
+```
+
+[EngineConnPlugin 引擎插件安装](../deployment/install-engineconn.md)
+
+### 2.2 引擎插件的上传和加载
+
+将 2.1 中的引擎插件包上传到服务器的引擎目录下
+```bash 
+${LINKIS_HOME}/lib/linkis-engineplugins
+```
+上传后目录结构如下所示
+```
+linkis-engineconn-plugins/
+├── hbase
+│   ├── dist
+│   │   └── 2.5.3
+│   │       ├── conf
+│   │       └── lib
+│   └── plugin
+│       └── 2.5.3
+```
+### 2.3 引擎刷新
+
+#### 2.3.1 重启刷新
+通过重启 `linkis-cg-linkismanager` 服务刷新引擎
+```bash
+cd ${LINKIS_HOME}/sbin
+sh linkis-daemon.sh restart cg-linkismanager
+```
+
+### 2.3.2 检查引擎是否刷新成功
+可以查看数据库中的 `linkis_engine_conn_plugin_bml_resources` 这张表的 `last_update_time` 
是否为触发刷新的时间。

Review Comment:
   now can be check at linkis web console



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to