[Question] Installing a stand-alone deployment document: An error occurred while performing the shell engine task for validation after installation #5218
Labels
Question
Further information is requested
Before asking
Your environment
Describe your questions
执行验证命令,sh bin/linkis-cli -submitUser hadoop -engineType shell-1 -codeType shell -code "whoami"
错误信息如下:
[root@bd01 linkis]# sh bin/linkis-cli -submitUser hadoop -engineType shell-1 -codeType shell -code "whoami"
=====Java Start Command=====
exec /usr/java/default/bin/java -server -Xms32m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/chaos_data/app/linkis/linkis/logs/linkis-cli -XX:ErrorFile=/chaos_data/app/linkis/linkis/logs/linkis-cli/ps_err_pid%p.log -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 -XX:+DisableExplicitGC -classpath /chaos_data/app/linkis/linkis/conf/linkis-cli:/chaos_data/app/linkis/linkis/lib/linkis-computation-governance/linkis-client/linkis-cli/:/chaos_data/app/linkis/linkis/lib/linkis-commons/public-module/: -Dconf.root=/chaos_data/app/linkis/linkis/conf/linkis-cli -Dconf.file=linkis-cli.properties -Dlog.path=/chaos_data/app/linkis/linkis/logs/linkis-cli -Dlog.file=linkis-client.root.log.20250122144208017324142 org.apache.linkis.cli.application.LinkisClientApplication '-submitUser hadoop -engineType shell-1 -codeType shell -code whoami'
[INFO] LogFile path: /chaos_data/app/linkis/linkis/logs/linkis-cli/linkis-client.root.log.20250122144208017324142
[INFO] User does not provide usr-configuration file. Will use default config
[INFO] user does not specify proxy-user, will use current submit-user "hadoop" by default.
[INFO] connecting to linkis gateway:http://127.0.0.1:9011
JobId:5
TaskId:5
ExecId:exec_id018016linkis-cg-entrancebd01.hw.com:9104LINKISCLI_hadoop_shell_0
[INFO] Job is successfully submitted!
2025-01-22 14:42:09.042 INFO Program is substituting variables for you
2025-01-22 14:42:09.042 INFO Variables substitution ended successfully
2025-01-22 14:42:09.042 INFO You have submitted a new job, script code (after variable substitution) is
SCRIPT CODE
whoami
SCRIPT CODE
2025-01-22 14:42:09.042 WARN The code you submit will not be limited by the limit
2025-01-22 14:42:09.042 INFO Job with jobId : 5 and execID : LINKISCLI_hadoop_shell_0 submitted
2025-01-22 14:42:09.042 INFO Your job is accepted, jobID is LINKISCLI_hadoop_shell_0 and jobReqId is 5 in ServiceInstance(linkis-cg-entrance, bd01.hw.com:9104, 0).
Please wait it to be scheduled(您的任务已经提交,进入排队中,如果一直没有更新日志,是任务并发达到了限制,可以进行参数修改)
2025-01-22 14:42:09.042 INFO Your job is Scheduled. Please wait it to run.(您的任务已经调度运行中)
2025-01-22 14:42:09.042 INFO Your job is being scheduled by orchestrator.
2025-01-22 14:42:09.042 INFO Your job is Running now. Please wait it to complete.(您的任务已经在运行中)
2025-01-22 14:42:09.042 INFO JobRequest (5) was submitted to Orchestrator.(您的任务已经提交给Orchestrator进行编排执行)
2025-01-22 14:42:09.042 INFO Background is starting a new engine for you,execId TaskID_5_otJobId_astJob_4_codeExec_4 mark id is mark_4, it may take several seconds, please wait
2025-01-22 14:42:09.042 INFO Request LinkisManager:EngineAskAsyncResponse{id='bd01.hw.com:9101_4', managerInstance=ServiceInstance(linkis-cg-linkismanager, bd01.hw.com:9101, 0)}
2025-01-22 14:42:17.042 INFO Succeed to create new ec : ServiceInstance(linkis-cg-engineconn, bd01.hw.com:38890, 0)
2025-01-22 14:42:17.042 INFO Task submit to ec: ServiceInstance(linkis-cg-engineconn, bd01.hw.com:38890, 0) get engineConnExecId is: 1
bd01.hw.com:38890_0 >> whoami
hadoop
2025-01-22 14:45:14.045 INFO Congratulations! Your job : LINKISCLI_hadoop_shell_0 executed with status succeed and 2 results.
2025-01-22 14:45:14.045 INFO Task time point information(任务时间节点信息):
[Task creation time(任务创建时间)] :2025-01-22 14:42:09
[Task scheduling time(任务调度时间)]:2025-01-22 14:42:09
[Task start time(任务开始时间)] :2025-01-22 14:42:09
[Task end time(任务结束时间)] :2025-01-22 14:45:14
2025-01-22 14:45:14.045 INFO [Task submit to Orchestrator time]:2025-01-22 14:42:09
[Task request EngineConn time] :2025-01-22 14:42:09
[Task submit to EngineConn time] :2025-01-22 14:42:17
2025-01-22 14:45:14.045 INFO Your task jobId(您的任务) 5 The total time spent is(总耗时时间为): 3.1 m
2025-01-22 14:45:14.045 INFO Congratulations. Your job completed with status Success.
execute failed!!!
org.apache.linkis.cli.application.exception.LinkisClientExecutionException: EXE0022,Error occured during execution: Get resultSetArray failed. Retry exhausted. taskID=5
at org.apache.linkis.cli.application.operator.ujes.LinkisJobOper.queryResultSetPaths(LinkisJobOper.java:593)
at org.apache.linkis.cli.application.interactor.job.common.ResultRetriever.retrieveResultSync(ResultRetriever.java:87)
at org.apache.linkis.cli.application.interactor.job.interactive.InteractiveJob.getResult(InteractiveJob.java:189)
at org.apache.linkis.cli.application.interactor.job.interactive.InteractiveJob.run(InteractiveJob.java:163)
at org.apache.linkis.cli.application.LinkisClientApplication.main(LinkisClientApplication.java:111)
Caused by: LinkisException{errCode=10905, desc='URL /api/rest_j/v1/filesystem/getDirFileTrees request failed! ResponseBody is {"method":null,"status":1,"message":"error code(错误码): 80027, error message(错误信息): The path needs to be within the user's own workspace path.","data":{"errorMsg":{"serviceKind":"linkis-ps-publicservice","port":9105,"level":2,"errCode":80027,"ip":"bd01.hw.com","desc":"The path needs to be within the user's own workspace path"}}}. errCode: 10905 ,desc: URL /api/rest_j/v1/filesystem/getDirFileTrees request failed! ResponseBody is {"method":null,"status":1,"message":"error code(错误码): 80027, error message(错误信息): The path needs to be within the user's own workspace path.","data":{"errorMsg":{"serviceKind":"linkis-ps-publicservice","port":9105,"level":2,"errCode":80027,"ip":"bd01.hw.com","desc":"The path needs to be within the user's own workspace path"}}}. ,ip: null ,port: 0 ,serviceKind: null', ip='null', port=0, serviceKind='null'}
at org.apache.linkis.httpclient.dws.response.DWSResult.$anonfun$set$2(DWSResult.scala:86)
at org.apache.linkis.httpclient.dws.response.DWSResult.$anonfun$set$2$adapted(DWSResult.scala:84)
at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:71)
at org.apache.linkis.httpclient.dws.response.DWSResult.set(DWSResult.scala:84)
at org.apache.linkis.httpclient.dws.response.DWSResult.set$(DWSResult.scala:57)
at org.apache.linkis.ujes.client.response.ResultSetListResult.set(ResultSetListResult.scala:30)
at org.apache.linkis.httpclient.dws.DWSHttpClient.$anonfun$httpResponseToResult$1(DWSHttpClient.scala:83)
at scala.Option.map(Option.scala:230)
at org.apache.linkis.httpclient.dws.DWSHttpClient.httpResponseToResult(DWSHttpClient.scala:79)
at org.apache.linkis.httpclient.AbstractHttpClient.$anonfun$responseToResult$1(AbstractHttpClient.scala:569)
at org.apache.linkis.common.utils.Utils$.tryFinally(Utils.scala:79)
at org.apache.linkis.httpclient.AbstractHttpClient.responseToResult(AbstractHttpClient.scala:582)
at org.apache.linkis.httpclient.AbstractHttpClient.execute(AbstractHttpClient.scala:206)
at org.apache.linkis.httpclient.AbstractHttpClient.execute(AbstractHttpClient.scala:151)
at org.apache.linkis.ujes.client.UJESClientImpl.executeUJESJob(UJESClientImpl.scala:31)
at org.apache.linkis.ujes.client.response.JobInfoResult.getResultSetList(JobInfoResult.scala:78)
at org.apache.linkis.cli.application.operator.ujes.LinkisJobOper.queryResultSetPaths(LinkisJobOper.java:569)
... 4 more
############Execute Error!!!########
Eureka service list
No response
Some logs info or acctch file
linkis-ps-publicservice.log:
The text was updated successfully, but these errors were encountered: