[ https://issues.apache.org/jira/browse/HDDS-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
luhuachao updated HDDS-2095: ---------------------------- Attachment: HDDS-2095.001.patch > Submit mr job to yarn failed, Error messegs is "Provider > org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl$Renewer not found" > ------------------------------------------------------------------------------------------------------------------------------- > > Key: HDDS-2095 > URL: https://issues.apache.org/jira/browse/HDDS-2095 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Filesystem > Affects Versions: 0.4.1 > Reporter: luhuachao > Priority: Major > Attachments: HDDS-2095.001.patch > > > below is the submit command > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-3.2.0-tests.jar nnbench > -Dfs.defaultFS=o3fs://buc.volume-test -maps 3 -bytesToWrite 1 > -numberOfFiles 1000 -blockSize 16 -operation create_write > {code} > clinet fail with message > {code:java} > 19/09/06 15:26:52 INFO mapreduce.JobSubmitter: Cleaning up the staging area > /user/hdfs/.staging/job_1567754782562_000119/09/06 15:26:52 INFO > mapreduce.JobSubmitter: Cleaning up the staging area > /user/hdfs/.staging/job_1567754782562_0001java.io.IOException: > org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit > application_1567754782562_0001 to YARN : > org.apache.hadoop.security.token.TokenRenewer: Provider > org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl$Renewer not found at > org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:345) at > org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:254) > at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570) at > org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567) 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:1685) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567) at > org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:576) at > org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:571) 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:1685) > at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:571) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:562) at > org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:873) at > org.apache.hadoop.hdfs.NNBench.runTests(NNBench.java:487) at > org.apache.hadoop.hdfs.NNBench.run(NNBench.java:604) at > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) at > org.apache.hadoop.hdfs.NNBench.main(NNBench.java:579) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71) > at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144) at > org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:144) at > org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:152) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.apache.hadoop.util.RunJar.run(RunJar.java:308) at > org.apache.hadoop.util.RunJar.main(RunJar.java:222)Caused by: > org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit > application_1567754782562_0001 to YARN : > org.apache.hadoop.security.token.TokenRenewer: Provider > org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl$Renewer not found at > org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:304) > at > org.apache.hadoop.mapred.ResourceMgrDelegate.submitApplication(ResourceMgrDelegate.java:299) > at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:330) ... 34 > more > {code} > the log in resourcemanager > {code:java} > 2019-09-06 15:26:51,836 WARN security.DelegationTokenRenewer > (DelegationTokenRenewer.java:handleDTRenewerAppSubmitEvent(923)) - Unable to > add the application to the delegation token renewer. > java.util.ServiceConfigurationError: > org.apache.hadoop.security.token.TokenRenewer: Provider > org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl$Renewer not found > at java.util.ServiceLoader.fail(ServiceLoader.java:239) > at java.util.ServiceLoader.access$300(ServiceLoader.java:185) > at > java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372) > at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) > at java.util.ServiceLoader$1.next(ServiceLoader.java:480) > at org.apache.hadoop.security.token.Token.getRenewer(Token.java:463) > at org.apache.hadoop.security.token.Token.isManaged(Token.java:479) > at > org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.handleAppSubmitEvent(DelegationTokenRenewer.java:448) > at > org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.access$900(DelegationTokenRenewer.java:79) > at > org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenRenewerRunnable.handleDTRenewerAppSubmitEvent(DelegationTokenRenewer.java:919) > at > org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenRenewerRunnable.run(DelegationTokenRenewer.java:896) > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org