Hi Huafeng Wang, Without using embedded cluster it doesn't throw any Error, it just sleeps off .I am yet to try it on YARN or something , however if i do add embedded cluster , just like its been done in the current master (for the non DSL example) , it ends with a null pointer exception for it doesn't find the config for jar store location:

I guess it ought to do with this branch alone.

Exception in thread "main" java.lang.NullPointerException
at org.apache.gearpump.jarstore.JarStoreService$.get(JarStoreService.scala:74) at org.apache.gearpump.cluster.client.ClientContext.<init>(ClientContext.scala:62) at org.apache.gearpump.cluster.client.ClientContext$.apply(ClientContext.scala:183) at org.apache.gearpump.cluster.embedded.EmbeddedCluster.newClientContext(EmbeddedCluster.scala:81)

Thanks/Ganesh

On 09-10-2016 10:27, Huafeng Wang (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/GEARPUMP-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15559285#comment-15559285
 ]

Huafeng Wang commented on GEARPUMP-218:
---------------------------------------

Hi Ganesh, what's error after you added all these dependencies?

Documentation bug for WordCount example
----------------------------------------

                 Key: GEARPUMP-218
                 URL: https://issues.apache.org/jira/browse/GEARPUMP-218
             Project: Apache Gearpump
          Issue Type: Bug
          Components: doc
    Affects Versions: 0.8.1
            Reporter:  Raman Ganesh
            Assignee: Huafeng Wang
            Priority: Minor

The sbt and maven should include  a few more dependencies for the example to 
work as the example has dependencies on :
Starting with the example as is gives :
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/gearpump/codahale/metrics/MetricRegistry
After adding "gearpump-shaded-metrics-graphite_2.11" to dependency it doesn't 
the service location for the JarStore and ends with the same issue as 
:https://issues.apache.org/jira/browse/GEARPUMP-19
After adding daemon and excluding gearpump-experimental-cgroup_2.11 it ends 
with another exception as Caused by: java.lang.ClassNotFoundException: 
org.apache.gearpump.google.common.io.BaseEncoding
The documentation needs to fix the sbt/maven library dependencies.
Finally adding guava collections assembly shaded jar full-fills all class path 
requirements however doesn't run the application .via Embedded cluster


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

Reply via email to