部署openLooKeng引擎
下述步骤需在管理节点和所有计算节点操作。
- 在节点中部署openLooKeng引擎。具体请参见《openLooKeng部署指南》。
- openLooKeng部署完成后,找到openLooKeng引擎的部署目录(以“/opt/hetu-server-1.6.1”为例),将boostkit-omniop-openlookeng-1.6.1-1.1.0-aarch64.jar文件放入到“/opt/omni-operator”目录下,并修改软件包权限为550。
chmod 550 /opt/omni-operator/boostkit-omniop-openlookeng-1.6.1-1.1.0-aarch64.jar
- 配置openLooKengExtension,在“hetu-server-1.6.1/etc/config.properties”中追加以下内容。
extension_execution_planner_enabled=false extension_execution_planner_jar_path=file:///opt/omni-operator/boostkit-omniop-openlookeng-1.6.1-1.1.0-aarch64.jar extension_execution_planner_class_path=nova.hetu.olk.OmniLocalExecutionPlanner
- 拷贝“/opt/omni-operator/lib”下的boostkit-omniop-bindings-1.1.0-aarch64.jar到hetu-server-1.6.1的lib目录下。
cp /opt/omni-operator/lib/boostkit-omniop-bindings-1.1.0-aarch64.jar /opt/hetu-server-1.6.1/lib/