Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93AF0200C07 for ; Sun, 22 Jan 2017 20:16:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 924A3160B45; Sun, 22 Jan 2017 19:16:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D41F160B39 for ; Sun, 22 Jan 2017 20:16:07 +0100 (CET) Received: (qmail 20793 invoked by uid 500); 22 Jan 2017 19:16:07 -0000 Mailing-List: contact dev-help@gearpump.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gearpump.incubator.apache.org Delivered-To: mailing list dev@gearpump.incubator.apache.org Delivered-To: moderator for dev@gearpump.incubator.apache.org Received: (qmail 67452 invoked by uid 99); 22 Jan 2017 08:39:20 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -7.019 X-Spam-Level: X-Spam-Status: No, score=-7.019 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled From: manuzhang To: dev@gearpump.incubator.apache.org Reply-To: dev@gearpump.incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-gearpump pull request #134: [GEARPUMP-265] remove AppMasterRuntime... Content-Type: text/plain Message-Id: <20170122083859.7D350DFCA1@git1-us-west.apache.org> Date: Sun, 22 Jan 2017 08:38:59 +0000 (UTC) archived-at: Sun, 22 Jan 2017 19:16:08 -0000 Github user manuzhang commented on a diff in the pull request: https://github.com/apache/incubator-gearpump/pull/134#discussion_r97216688 --- Diff: core/src/main/scala/org/apache/gearpump/cluster/appmaster/ApplicationMetaData.scala --- @@ -19,18 +19,20 @@ package org.apache.gearpump.cluster.appmaster import org.apache.gearpump.cluster.{AppDescription, AppJar} +import akka.routing.MurmurHash._ /** - * This state for single application, it is be distributed across the masters. + * The meta data of an application, which stores the crucial infomation of how to launch + * the application, like the application jar file location. This data is distributed + * across the masters. */ -case class ApplicationState( - appId: Int, appName: String, attemptId: Int, app: AppDescription, jar: Option[AppJar], - username: String, state: Any) extends Serializable { +case class ApplicationMetaData(appId: Int, attemptId: Int, app: AppDescription, + jar: Option[AppJar], username: String) extends Serializable { override def equals(other: Any): Boolean = { --- End diff -- why is `override` required ? --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---