You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by 康悦Rita <ri...@163.com> on 2022/10/27 09:30:51 UTC
[DISCUSS] linkis failed to execute hql
Dear:
Wechat group "Apache Linkis(incubating) community Development group "chat records are as follows: 微信群"Apache Linkis(incubating) 社区开发群"的聊天记录如下:
————— 2022-10-25 —————
He Defang 09:39
Consult Da Shen, linkis has an error when executing hql. I just need to restart linkis. After a period of time, this problem occurs again, what is the reason? Error message: 037 ERROR Job with execId-IDE_hadoop_hive_0 + subJobId: 24 execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: gys1-hzzc:9101_1 Failed to async get EngineNode AMErrorException: errCode: 30002 ,desc: ServiceInstance(linkis-cg-engineconn, gys1-hzzc:56219) ticketID:c526cbbe-6ebd-41ec-8dbd-106afaf3d77c Failed to initialize the engine. The cause is as follows: Failed to start EngineConn, reason: ECMErrorException: errCode: 11102 ,desc: sudo: sorry, you must have a tty to run sudo
Mr Flash 09:50
The executing user does not have sudo permissions
He Defang"
We found the problem, we can modify the DSS installation document, some centos configuration, in /etc/sudoers, Defaults requiretty will be enabled by default, you can comment this out
何德芳 09:39
咨询大神, linkis执行hql出现报错,我重启linkis就好了,过一段时间后又重复出现这个问题,这是啥原因?报错信息:2022-10-25 09:37:16.037 ERROR Job with execId-IDE_hadoop_hive_0 + subJobId : 24 execute failed,21304, Task is Failed,errorMsg: errCode: 12003 ,desc: gys1-hzzc:9101_1 Failed to async get EngineNode AMErrorException: errCode: 30002 ,desc: ServiceInstance(linkis-cg-engineconn, gys1-hzzc:56219) ticketID:c526cbbe-6ebd-41ec-8dbd-106afaf3d77c 初始化引擎失败,原因: Failed to start EngineConn, reason: ECMErrorException: errCode: 11102 ,desc: sudo: sorry, you must have a tty to run sudo
闪电先生 09:50
大概是说执行用户没有sudo权限
何德芳 10:14
找到问题了,咱们可以修改下DSS的安装文档,有些centos环境配置,在/etc/sudoers 上,会默认开启 Defaults requiretty ,把这个注释掉就可以
--
Best Regards
------
康悦 ritakang
GitHub:Ritakang0451
E-mail:rita0451@163.com