gearpump-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] (GEARPUMP-331) Allow examples to be ran in IDE
Date Thu, 27 Jul 2017 07:41:00 GMT

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

ASF GitHub Bot commented on GEARPUMP-331:
-----------------------------------------

Github user manuzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/202#discussion_r129772729
  
    --- Diff: examples/streaming/wordcount/src/main/scala/org/apache/gearpump/streaming/examples/wordcount/WordCount.scala
---
    @@ -64,18 +64,13 @@ object WordCount extends AkkaApp with ArgumentsParser {
         val debugMode = config.getBoolean("debug")
         val sleepSeconds = config.getInt("sleep")
     
    -    val localCluster = if (debugMode) {
    -      val cluster = new EmbeddedCluster(akkaConf: Config)
    -      cluster.start()
    -      Some(cluster)
    +    val runtimeEnv = if (debugMode) {
    --- End diff --
    
    Is the "debugMode" option necessary ?  If examples are run in IDE, they are already in
debug mode.


> Allow examples to be ran in IDE
> -------------------------------
>
>                 Key: GEARPUMP-331
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-331
>             Project: Apache Gearpump
>          Issue Type: Improvement
>            Reporter: Huafeng Wang
>            Assignee: Huafeng Wang
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message