gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GEARPUMP-252) return application status to client
Date Mon, 23 Jan 2017 10:21:26 GMT


ASF GitHub Bot commented on GEARPUMP-252:

Github user huafengw commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/gearpump/cluster/client/RunningApplication.scala
    @@ -18,17 +18,21 @@
     package org.apache.gearpump.cluster.client
     import akka.pattern.ask
    +import{Actor, ActorRef, ActorSystem, Props}
     import akka.util.Timeout
    -import org.apache.gearpump.cluster.ClientToMaster.{ResolveAppId, ShutdownApplication}
    -import org.apache.gearpump.cluster.MasterToClient.{ResolveAppIdResult, ShutdownApplicationResult}
    +import org.apache.gearpump.cluster.ClientToMaster.{RegisterAppResultListener, ResolveAppId,
    +import org.apache.gearpump.cluster.MasterToClient._
    +import org.apache.gearpump.cluster.client.RunningApplication.{AppResultListener, WaitUntilFinish}
     import org.apache.gearpump.util.ActorUtil
    +import org.apache.gearpump.cluster.client.RunningApplication._
    +import scala.concurrent.duration._
     import scala.concurrent.Future
     import scala.util.{Failure, Success}
    -class RunningApplication(val appId: Int, master: ActorRef, timeout: Timeout) {
    +class RunningApplication(val appId: Int, master: ActorRef, timeout: Timeout,
    --- End diff --
    We can do it in following pr.

> return application status to client
> -----------------------------------
>                 Key: GEARPUMP-252
>                 URL:
>             Project: Apache Gearpump
>          Issue Type: Improvement
>    Affects Versions: 0.8.2
>            Reporter: Manu Zhang
>            Assignee: Huafeng Wang
> Currently, client exits after submitting applications and has no idea of the application
status. It will be valuable to return such information to client. 

This message was sent by Atlassian JIRA

View raw message