You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gearpump.apache.org by " Raman Ganesh (JIRA)" <ji...@apache.org> on 2016/10/07 10:08:20 UTC

[jira] [Commented] (GEARPUMP-218) Documentation bug for WordCount example

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

 Raman Ganesh commented on GEARPUMP-218:
----------------------------------------

Changing sbt to add these dependencies however makes it run but still doesn't work:
val gearpumpVersion = "0.8.1"
libraryDependencies ++= Seq(
  "org.apache.gearpump"                %  "gearpump-core_2.11"         % gearpumpVersion,
  "org.apache.gearpump"                %  "gearpump-daemon_2.11"         % gearpumpVersion exclude("org.apache.gearpump","gearpump-experimental-cgroup_2.11"),
  "org.apache.gearpump"                %  "gearpump-streaming_2.11"         % gearpumpVersion,
  "org.apache.gearpump"                %  "gearpump-shaded-metrics-graphite_2.11"         % gearpumpVersion classifier("assembly"),
  "org.apache.gearpump"                %  "gearpump-shaded-guava_2.11"         % gearpumpVersion classifier("assembly")
 )


> 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
>            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.



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