java 调用oozie 实例_在Hue里调用Oozie java样例失败

在尝试使用Java调用Oozie服务执行实例时遇到问题。日志显示无法联系Oozie服务器,并且在hd-host1上出现26004端口的连接拒绝错误。此外,还警告了配置属性`oozie.service.AuthorizationService.security.enabled`已被弃用,建议更新为`oozie.service.AuthorizationService.authorization.enabled`。
摘要由CSDN通过智能技术生成

Unable to contact the following Oozie Servers for logs (log information may be incomplete):

110

2017-09-04 09:55,313 WARN ConfigUtils:523 - USER[admin] GROUP[-] TOKEN[-] APP[test-java] JOB[0000030-170901135332451-oozie-omm-W] ACTION[0000030-170901135332451-oozie-omm-W@java-d615] Using a deprecated configuration property [oozie.service.AuthorizationService.security.enabled], should use [oozie.service.AuthorizationService.authorization.enabled]. Please delete the deprecated property in order for the new property to take effect.

2017-09-04 09:55,468 WARN JavaActionExecutor:523 - USER[admin] GROUP[-] TOKEN[-] APP[test-java] JOB[0000030-170901135332451-oozie-omm-W] ACTION[0000030-170901135332451-oozie-omm-W@java-d615] Exception in check(). Message[E0902: Exception occured: [Call From hd-host1/190.15.116.189 to hd-host1:26004 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused]]

org.apache.oozie.service.HadoopAccessorException: E0902: Exception occured: [Call From hd-host1/190.15.116.189 to hd-host1:26004 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused]

at org.apache.oozie.service.HadoopAccessorService.createJobClient(HadoopAccessorService.java:458)

at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:1350)

at org.apache.oozie.action.hadoop.JavaActionExecutor.check(JavaActionExecutor.java:1376)

at org.apache.oozie.command.wf.ActionCheckXCommand.execute(ActionCheckXCommand.java:189)

at org.apache.oozie.command.wf.ActionCheckXCommand.execute(ActionCheckXCommand.java:62)

at org.apache.oozie.command.XCommand.call(XCommand.java:286)

at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.net.ConnectException: Call From hd-host1/190.15.116.189 to hd-host1:26004 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:801)

at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:732)

at org.apache.hadoop.ipc.Client.call(Client.java:1515)

at org.apache.hadoop.ipc.Client.call(Client.java:1447)

at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)

at com.sun.proxy.$Proxy37.getDelegationToken(Unknown Source)

at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.getDelegationToken(ApplicationClientProtocolPBClientImpl.java:315)

at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:201)

at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:103)

at com.sun.proxy.$Proxy38.getDelegationToken(Unknown Source)

at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getRMDelegationToken(YarnClientImpl.java:531)

at org.apache.hadoop.mapred.ResourceMgrDelegate.getDelegationToken(ResourceMgrDelegate.java:175)

at org.apache.hadoop.mapred.YARNRunner.getDelegationToken(YARNRunner.java:233)

at org.apache.hadoop.mapreduce.Cluster.getDelegationToken(Cluster.java:425)

at org.apache.hadoop.mapred.JobClient$16.run(JobClient.java:1240)

at org.apache.hadoop.mapred.JobClient$16.run(JobClient.java:1237)

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:1726)

at org.apache.hadoop.mapred.JobClient.getDelegationToken(JobClient.java:1236)

at org.apache.oozie.service.HadoopAccessorService.createJobClient(HadoopAccessorService.java:449)

... 9 more

Caused by: java.net.ConnectException: Connection refused

at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)

at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)

at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)

at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)

at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:649)

at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:747)

at org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:394)

at org.apache.hadoop.ipc.Client.getConnection(Client.java:1564)

at org.apache.hadoop.ipc.Client.call(Client.java:1486)

... 30 more

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值