[ https://issues.apache.org/jira/browse/APEXCORE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pramod Immaneni closed APEXCORE-618. ------------------------------------ > ClassNotFoundException thrown when launching app on secure Hadoop > ----------------------------------------------------------------- > > Key: APEXCORE-618 > URL: https://issues.apache.org/jira/browse/APEXCORE-618 > Project: Apache Apex Core > Issue Type: Bug > Environment: hadoop 2.7.3 > Reporter: David Yan > Assignee: David Yan > > When launching an app on a kerberos enabled hadoop (plain Apache Hadoop), > launching pi demo throws this error: > {code} > 2017-01-21 02:13:50,208 ERROR com.datatorrent.stram.StreamingAppMaster: > Exiting Application Master > java.lang.NoClassDefFoundError: > com/sun/jersey/client/apache4/ApacheHttpClient4Handler > at > com.datatorrent.stram.util.WebServicesClient.<init>(WebServicesClient.java:153) > at > com.datatorrent.stram.util.WebServicesClient.<init>(WebServicesClient.java:140) > at > com.datatorrent.stram.StreamingContainerManager.getAppMasterContainerInfo(StreamingContainerManager.java:481) > at > com.datatorrent.stram.StreamingContainerManager.init(StreamingContainerManager.java:448) > at > com.datatorrent.stram.StreamingContainerManager.<init>(StreamingContainerManager.java:420) > at > com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:3065) > at > com.datatorrent.stram.StreamingAppMasterService.serviceInit(StreamingAppMasterService.java:552) > at > org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) > at > com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102) > Caused by: java.lang.ClassNotFoundException: > com.sun.jersey.client.apache4.ApacheHttpClient4Handler > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 9 more > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)