Hello: The following error occurred while running the MapReduce task using Oozie: WARN ParameterVerifier:523 - SERVER[vm2822] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] The application does not define foraml parameters in its XML definition WARN MapReduceActionException:523 - SERVER[VM28220] USER[OOZIE] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000001-200609172327130-oozie-root-W] ACTION[0000001-200609172327130-oozie-root-W@mr-node] No credential properties found action:0000001-200609172327130-oozie-root-W@mr-node,cred:null WARN HadoopTokenHelper:523 - SERVER[vm28220] USER[oozie] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000001-200609172327130-oozie-root-W] ACTION[0000001-200609172327130-oozie-root-W@mr-node] An error happened while trying to get server principal.Getting it from service principal anyway. WARN ActionStartXCommand:523 - SERVER[VM28220] USER[OOZIE] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000001-200609172327130-oozie-root-W] ACTION[0000001-200609172327130-oozie-root-W@mr-node] Error starting action [mr-node].ErrorType [TRANSIENT],ErrorCode[JA009],Message[JA009:DestHost:destPort vm28220:10020, LocalHost:localPort vm28220/27.28.2.20:0.Failed on local execption:java.io.IOException:org.apache.hadoop.security.AccessControlException:Client cannot authenticate via:[TOKEN,KERBEROS]
The cluster environment information is as follows: oozie version is 5.2.0 hadoop version is 3.2.1 the authentication mode is kerberos. When I delete the code in red, the problem was solved. as follows: private void addHadoopCredentialPropertiesToActionConf(Map<String, CredentialsProperties> credentialsProperties) { LOG.info("Adding default credentials for action: hdfs, yarn and jhs"); addHadoopCredentialProperties(credentialsProperties, CredentialsProviderFactory.HDFS); addHadoopCredentialProperties(credentialsProperties, CredentialsProviderFactory.YARN); addHadoopCredentialProperties(credentialsProperties, CredentialsProviderFactory.JHS); } Can anyone tell me other ways to solve this problem? thinks. I am looking forward to your reply?? ------------------ ???????? ------------------ ??????: "user" <gezap...@cloudera.com.INVALID>; ????????: 2020??7??14??(??????) ????11:45 ??????: "user"<user@oozie.apache.org>; ????: Re: org.apache.hadoop.security.AccessControlException:Client cannot authenticate via:[TOKEN,KERBEROS] Hey, I can't see any of the images you've posted. Can you change them to code snippets? Thank you gp On Tue, Jul 14, 2020 at 5:28 PM qq <987626...@qq.com> wrote: > Hello: > > The following error occurred while running the MapReduce task using Oozie: > > > The cluster environment information is as follows: > oozie version is 5.2.0 > hadoop version is 3.2.1 > the authentication mode is kerberos. > > When I deleted the code in the red box, the problem was solved. > > Can anyone tell me other ways to solve this problem? > > thinks. > I am looking forward to your reply?? > -- *Peter Cseh* | Software Engineer, Cloudera Search cloudera.com <https://www.cloudera.com> [image: Cloudera] <https://www.cloudera.com/> [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera on LinkedIn] <https://www.linkedin.com/company/cloudera> <https://www.cloudera.com/> ------------------------------