apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.29k stars 1.16k forks source link

[Question] linkis-web engine interface of does not have an engine instance #4899

Closed fy403 closed 1 year ago

fy403 commented 1 year ago

Before asking

Your environment

Describe your questions

Q1. 我搭建好了linkis,使用命令行可以直接驱动Engine执行,但是linkis-web的引擎界面没有引擎实例,我看了mysql表中,确实存在实例;

I have built Linkis and can directly drive the Engine to execute using the command line. However, the engine interface of Linkis web does not have an engine instance. I checked the MySQL table and found that there are indeed instances;

引擎被加载到指定目录

The engine is loaded into the specified directory

image

配置了加载目录

Configured loading directory

./conf/linkis-cg-linkismanager.properties:24:wds.linkis.engineconn.home=/opt/linkis-1.5.0/lib/linkis-engineconn-plugins ./conf/linkis-cg-linkismanager.properties:25:wds.linkis.engineconn.plugin.loader.store.path=/opt/linkis-1.5.0/lib/linkis-engineconn-plugins

日志没有报错

No errors reported in the log

questUri: /api/rest_j/v1/microservice/modifiableLabelKey with parsedService linkis-ps-publicservice to ServiceInstance(linkis-ps-publicservice, null) 2023-09-05 19:45:22.281 [INFO ] [reactor-http-epoll-1 ] o.a.l.g.s.h.GatewayAuthorizationFilter (167) [gatewayDeal] [JobId-] - Client request ip: /127.0.0.1:40336 and uri: /api/rest_j/v1/configuration/engineTypeGatewayRouter route requestUri: /api/rest_j/v1/configuration/engineType with parsedService linkis-ps-publicservice to ServiceInstance(linkis-ps-publicservice, null)

命令行可以正常使用引擎

The command line can use the engine normally

$sh bin/linkis-cli -submitUser hadoop -engineType spark-3.2.1 -codeType sql -code "show tables"

mysql数据库存在引擎数据

Engine data exists in MySQL database

image

但是linkis-web没有引擎实例数据

But linkis web does not have engine instance data

image

Eureka service list

image

Some logs info or acctch file

linkis-xxx.log:


<!--日志文字贴到这里-->

log file:

linkis-xxx.log

github-actions[bot] commented 1 year ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive
aiceflower commented 1 year ago

You can refer to the user documentation on the official website. By default, the engine instance will be destroyed after the task is completed. You can add the -creator IDE parameter to view the task. Alternatively, you can use Eureka to view engine services during task execution. The engine supported by Linkis is not the same concept as the engine in operation. image

fy403 commented 1 year ago

Thank you! I got it