apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-618) ClassNotFoundException thrown when launching app on secure Hadoop
Date Sat, 21 Jan 2017 21:27:26 GMT

    [ https://issues.apache.org/jira/browse/APEXCORE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833152#comment-15833152
] 

ASF GitHub Bot commented on APEXCORE-618:
-----------------------------------------

GitHub user davidyan74 opened a pull request:

    https://github.com/apache/apex-core/pull/452

    APEXCORE-618 #resolve Added com.sun.jersey.client.apache4.ApacheHttpC…

    …lient4Handler.class in the bundled jars on app launch

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/davidyan74/apex-core APEXCORE-618

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/apex-core/pull/452.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #452
    
----
commit 04ffdbf7b44fc5609d111f852282f1a1a629d887
Author: David Yan <davidyan@apache.org>
Date:   2017-01-21T21:26:23Z

    APEXCORE-618 #resolve Added com.sun.jersey.client.apache4.ApacheHttpClient4Handler.class
in the bundled jars on app launch

----


> 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.4#6332)

Mime
View raw message