[ https://issues.apache.org/jira/browse/OOZIE-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869287#comment-16869287 ]
Andras Salamon commented on OOZIE-3516: --------------------------------------- Thanks for the test and the contribution [~kmarton], +1, committed to master. > Misleading warning: java.lang.IllegalArgumentException: Does not contain a > valid host:port authority: yarnRM > ------------------------------------------------------------------------------------------------------------ > > Key: OOZIE-3516 > URL: https://issues.apache.org/jira/browse/OOZIE-3516 > Project: Oozie > Issue Type: Bug > Affects Versions: 5.0.0 > Reporter: Julia Kinga Marton > Assignee: Julia Kinga Marton > Priority: Major > Attachments: OOZIE-3516-001.patch > > > Starting fromĀ 5.0.0 there is a misleading warning message in the Oozie logs: > {code} > 2019-06-17 05:30:19,335 WARN > org.apache.oozie.action.hadoop.HadoopTokenHelper: > SERVER[nightly6x-1.vpc.cloudera.com] USER[admin] GROUP[-] TOKEN[] APP[Batch > job for PySpark Pi Estimator Job] JOB[0000001-190617003335655-oozie-oozi-W] > ACTION[0000001-190617003335655-oozie-oozi-W@spark2-3833] An error happened > while trying to get server principal. Getting it from service principal > anyway. > java.lang.IllegalArgumentException: Does not contain a valid host:port > authority: yarnRM > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:213) > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164) > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153) > at > org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:73) > at > org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:51) > at > org.apache.oozie.action.hadoop.YarnRMCredentials.updateCredentials(YarnRMCredentials.java:55) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1503) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1053) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1601) > at > org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:243) > at > org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:68) > at org.apache.oozie.command.XCommand.call(XCommand.java:291) > at > org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:363) > at > org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:292) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:210) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {code} > This warning is harmless, but it can case misunderstandings. -- This message was sent by Atlassian JIRA (v7.6.3#76005)