[
https://issues.apache.org/jira/browse/YARN-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699859#comment-16699859
]
Weiwei Yang commented on YARN-9058:
-----------------------------------
Hi [~eyang]
hadoop-yarn-csi module contains some shaded dependencies, adding this jar file
into hadoop classpath is programmatic. because hadoop has many places using
reflection to get class by name, this may cause to load wrong dependency. I
think we need to remove this jar file from hadoopclasspath. Will post a fix
today. Thanks
> YARN service fail to launch due to CSI changes
> ----------------------------------------------
>
> Key: YARN-9058
> URL: https://issues.apache.org/jira/browse/YARN-9058
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Eric Yang
> Assignee: Weiwei Yang
> Priority: Blocker
>
> YARN service AM fails to launch with error message:
> {code}
> 2018-11-26 19:32:33,486 [main] INFO service.AbstractService - Service Client
> AM Service failed in state STARTED
> java.lang.ClassCastException:
> org.apache.hadoop.yarn.proto.ClientAMProtocol$ClientAMProtocolService$2
> cannot be cast to csi.com.google.protobuf.BlockingService
> at
> org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132)
> at
> org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:65)
> at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:54)
> at
> org.apache.hadoop.yarn.service.ClientAMService.serviceStart(ClientAMService.java:88)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:194)
> at
> org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:121)
> at
> org.apache.hadoop.yarn.service.ServiceMaster.lambda$serviceStart$0(ServiceMaster.java:267)
> 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:1876)
> at
> org.apache.hadoop.yarn.service.ServiceMaster.serviceStart(ServiceMaster.java:265)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:194)
> at
> org.apache.hadoop.yarn.service.ServiceMaster.main(ServiceMaster.java:346)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]