我的也有这种问题,没解决,kerberos认证的hive导致的。
---原始邮件--- 发件人: "张锴"<zk357794...@gmail.com> 发送时间: 2021年4月28日(周三) 上午10:41 收件人: "user-zh"<user-zh@flink.apache.org>; 主题: Fwd: flink1.12.2 CLI连接hive出现异常 ---------- Forwarded message --------- 发件人: 张锴 <zk357794...@gmail.com> Date: 2021年4月27日周二 下午1:59 Subject: flink1.12.2 CLI连接hive出现异常 To: <user-zh@flink.apache.org> *使用flink1.12.2 CLI连接hive时,可以查看到catalog,也能看到指定的catalog下的tables,但是执行select 语句时就出现异常。* [ERROR] Could not execute SQL statement. Reason: org.apache.hadoop.ipc.RemoteException: Application with id 'application_1605840182730_29292' doesn't exist in RM. Please check that the job submission was suc at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.getApplicationReport(ClientRMService.java:382) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.getApplicationReport(ApplicationClientProtocolPBServiceImpl.java: at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:561) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) *使用yarn logs -applicationId application_1605840182730_29292 查看日志时,并没有给出具体的错误,以下是打出的日志。日志几乎看不出啥问题。* INFO client.RMProxy: Connecting to ResourceManager at hadoop01.xxx.xxx.xxx/xx.xx.x.xx:8050 Unable to get ApplicationState. Attempting to fetch logs directly from the filesystem. Can not find the appOwner. Please specify the correct appOwner Could not locate application logs for application_1605840182730_29292 这个如何排查呢,有遇到类似的问题的小伙伴吗