?????? org.apache.hadoop.security.AccessControlException:Client cannot authenticate via:[TOKEN,KERBEROS]

2020-07-14 Thread qq
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[001-200609172327130-oozie-root-W] 
ACTION[001-200609172327130-oozie-root-W@mr-node] No credential properties 
found action:001-200609172327130-oozie-root-W@mr-node,cred:null
WARN HadoopTokenHelper:523 - SERVER[vm28220] USER[oozie] GROUP[-] TOKEN[] 
APP[map-reduce-wf] JOB[001-200609172327130-oozie-root-W] 
ACTION[001-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[001-200609172327130-oozie-root-W] 
ACTION[001-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(Maphttps://www.cloudera.com;
[image: Cloudera] 

Re: org.apache.hadoop.security.AccessControlException:Client cannot authenticate via:[TOKEN,KERBEROS]

2020-07-14 Thread Peter Cseh
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 
[image: Cloudera] 
[image: Cloudera on Twitter]  [image:
Cloudera on Facebook]  [image: Cloudera
on LinkedIn] 

--


org.apache.hadoop.security.AccessControlException:Client cannot authenticate via:[TOKEN,KERBEROS]

2020-07-14 Thread qq
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??