gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manuzhang <>
Subject [GitHub] incubator-gearpump pull request #134: [GEARPUMP-265] remove AppMasterRuntime...
Date Sun, 22 Jan 2017 08:16:18 GMT
Github user manuzhang commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/gearpump/cluster/AppDescription.scala ---
    @@ -139,4 +138,47 @@ case class ExecutorContext(
     case class ExecutorJVMConfig(
         classPath: Array[String], jvmArguments: Array[String], mainClass: String,
         arguments: Array[String], jar: Option[AppJar], username: String,
    -    executorAkkaConfig: Config = ConfigFactory.empty())
    \ No newline at end of file
    +    executorAkkaConfig: Config = ConfigFactory.empty())
    +// Not using Enumeration here because upickle does not support it
    +sealed trait ApplicationStatus {
    +  def isTerminalStatus: Boolean
    +object ApplicationStatus {
    +  case object Pending extends ApplicationStatus {
    +    override def toString: String = "pending"
    --- End diff --
    You may define this only once in the superclass and pass in the status string from subclasses.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message