AnsweredAssumed Answered

Drill-on-yarn failing on MapR-6.0 cluster

Question asked by Karthee on Feb 21, 2018
Latest reply on Mar 1, 2018 by arjunkr

Hi There,

 

In my new MapR-6.0 cluster, am not able to start the Drill-on-yarn, it's failing with below errors,

 

[mapr@san2ldmr05 bin]$ ./drill-on-yarn.sh start
Connecting to DFS... Connected.
Using existing Drill archive in DFS: /user/drill/drill.tar.gz
Uploading site directory /opt/mapr/drill/drill-1.11.0/conf to /user/drill/site.tar.gz ... Uploaded.
Loading YARN Config...Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/client/config/ClientConfig
at org.apache.hadoop.yarn.client.api.TimelineClient.createTimelineClient(TimelineClient.java:55)
at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.createTimelineClient(YarnClientImpl.java:187)
at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceInit(YarnClientImpl.java:174)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.drill.yarn.core.YarnRMClient.<init>(YarnRMClient.java:68)
at org.apache.drill.yarn.core.YarnRMClient.<init>(YarnRMClient.java:57)
at org.apache.drill.yarn.client.AMRunner.connectToYarn(AMRunner.java:77)
at org.apache.drill.yarn.client.AMRunner.run(AMRunner.java:67)
at org.apache.drill.yarn.client.StartCommand.launch(StartCommand.java:143)
at org.apache.drill.yarn.client.StartCommand.run(StartCommand.java:64)
at org.apache.drill.yarn.client.DrillOnYarn.run(DrillOnYarn.java:145)
at org.apache.drill.yarn.client.DrillOnYarn.main(DrillOnYarn.java:79)
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.api.client.config.ClientConfig
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 more

 

in all the nodes, drill-override.conf zk.connect parameter is pointing to the localhost

zk.connect : "localhost:2181", after changing this parameter with right zookeeper nodes,then also it fails.

 

 

Please help me to sort this out.

 

Thanks,

Karthi

Outcomes