Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过IDE执行sql出现Failed to create engineResource #59

Open
IDsugar opened this issue Jul 20, 2022 · 3 comments
Open

通过IDE执行sql出现Failed to create engineResource #59

IDsugar opened this issue Jul 20, 2022 · 3 comments

Comments

@IDsugar
Copy link

IDsugar commented Jul 20, 2022

image
image
image

2022-07-20 10:59:13.059 INFO Program is substituting variables for you
2022-07-20 10:59:13.059 INFO Variables substitution ended successfully
2022-07-20 10:59:13.059 WARN The code you submit will not be limited by the limit
Job with jobId : nodeexecution_hadoop_hive_1 and execID : nodeexecution_hadoop_hive_1 submitted
2022-07-20 10:59:13.059 INFO You have submitted a new job, script code (after variable substitution) is
SCRIPT CODE
show database
SCRIPT CODE
2022-07-20 10:59:13.059 INFO Your job is accepted, jobID is exec_id018008linkis-cg-entrancedss:9104nodeexecution_hadoop_hive_1 and taskID is 18 in ServiceInstance(linkis-cg-entrance, dss:9104). Please wait it to be scheduled
job is scheduled.
2022-07-20 10:59:13.059 INFO Your job is Scheduled. Please wait it to run.
Your job is being scheduled by orchestrator.
2022-07-20 10:59:13.059 INFO job is running.
2022-07-20 10:59:13.059 INFO Your job is Running now. Please wait it to complete.
2022-07-20 10:59:13.059 INFO Job with jobGroupId : 18 and subJobId : 18 was submitted to Orchestrator.
2022-07-20 10:59:13.059 INFO Background is starting a new engine for you,execId astJob_3_codeExec_3 mark id is mark_3, it may take several seconds, please wait
2022-07-20 10:59:14.059 ERROR Job with execId-nodeexecution_hadoop_hive_1 + subJobId : 18 execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: dss:9101_3 Failed to async get EngineNode AMErrorException: errCode: 30001 ,desc: Failed to create engineResource ,ip: dss ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: dss ,port: 9104 ,serviceKind: linkis-cg-entrance

2022-07-20 10:59:14.059 INFO job is completed.
2022-07-20 10:59:14.059 INFO Task creation time(任务创建时间): 2022-07-20 10:59:13, Task scheduling time(任务调度时间): 2022-07-20 10:59:13, Task start time(任务开始时间): 2022-07-20 10:59:13, Mission end time(任务结束时间): 2022-07-20 10:59:14
2022-07-20 10:59:14.059 INFO Your mission(您的任务) 18 The total time spent is(总耗时时间为): 568 ms
2022-07-20 10:59:14.059 INFO Sorry. Your job completed with a status Failed. You can view logs for the reason.

通过命令行执行验证“sh bin/linkis-cli -submitUser hadoop -engineType hive-2.3.3 -codeType hql -code "show tables"”,能够正常返回结果。
但是通过 dss页面,就会提示无法创建资源。
求求大佬看一眼

@wuwj-cn
Copy link

wuwj-cn commented Sep 4, 2023

请问下这个问题是否有解决方法?遇到同样的问题

@little-tester
Copy link

需要设置读写权限

chmod -R 777 /home/hadoop/appcom/tmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@wuwj-cn @little-tester @IDsugar and others