gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huafeng Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEARPUMP-253) Yarn-client fail while lunching
Date Wed, 04 Jan 2017 05:17:58 GMT

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

Huafeng Wang commented on GEARPUMP-253:
---------------------------------------

[~pgrabuszynski] Sorry for the late response. Hopefully this issue will also be fixed in pr
https://github.com/apache/incubator-gearpump/pull/128

> Yarn-client fail while lunching
> -------------------------------
>
>                 Key: GEARPUMP-253
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-253
>             Project: Apache Gearpump
>          Issue Type: Bug
>            Reporter: Piotr Grabuszynski
>            Priority: Minor
>
> I tried to spawn Gearpump on Yarn. First, all yarn-config files has been copied to conf/yarnconf
and Gearpump has been stored in HDFS under path /usr/lib/gearpump/gearpump-2.11-0.8.3-SNAPSHOT.zip.
Then, I called command: bin/yarnclient launch -package /usr/lib/gearpump/gearpump-2.11-0.8.3-SNAPSHOT.zip
and got following error:
> {code}
> [ClusterConfig$] loading config file application.conf...
> Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
>         at org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:318)
>         at org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:331)
>         at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:413)
>         at org.apache.gearpump.experiments.yarn.glue.YarnConfig$.$lessinit$greater$default$1(YarnConfig.scala:27)
>         at org.apache.gearpump.experiments.yarn.client.LaunchCluster$.main(LaunchCluster.scala:193)
>         at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
>         at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
>         at scala.util.Try$.apply(Try.scala:192)
>         at org.apache.gearpump.util.AkkaApp$class.main(AkkaApp.scala:41)
>         at org.apache.gearpump.experiments.yarn.client.LaunchCluster$.main(LaunchCluster.scala:160)
>         at org.apache.gearpump.experiments.yarn.client.Client$.main(Client.scala:49)
>         at org.apache.gearpump.experiments.yarn.client.Client.main(Client.scala)
> Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions
>         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)
>         ... 12 more
> {code}
> commit used to build package: 1bf6a9ba8fa774b985fcd90a5d6bef129a4fb9a5



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message