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 EBECA200B21 for ; Fri, 10 Jun 2016 23:18:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA7C1160A5A; Fri, 10 Jun 2016 21:18:11 +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 3DBB0160A15 for ; Fri, 10 Jun 2016 23:18:11 +0200 (CEST) Received: (qmail 50782 invoked by uid 500); 10 Jun 2016 21:18:10 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 50772 invoked by uid 99); 10 Jun 2016 21:18:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 21:18:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id F2C0AC0D10 for ; Fri, 10 Jun 2016 21:18:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FBOWCGwFQoVp for ; Fri, 10 Jun 2016 21:18:09 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 2CEFE5FB38 for ; Fri, 10 Jun 2016 21:18:08 +0000 (UTC) Received: (qmail 50764 invoked by uid 99); 10 Jun 2016 21:18:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 21:18:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2DE8BDFE2E; Fri, 10 Jun 2016 21:18:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bschuchardt@apache.org To: commits@geode.incubator.apache.org Date: Fri, 10 Jun 2016 21:18:08 -0000 Message-Id: <2d07dd9894ea42b5be1388dadb36d742@git.apache.org> In-Reply-To: <96595fcf19944b28ad44e1db6a8219f8@git.apache.org> References: <96595fcf19944b28ad44e1db6a8219f8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] incubator-geode git commit: GEODE-1527: Locator javadoc mentions the old "gemfire" command archived-at: Fri, 10 Jun 2016 21:18:12 -0000 GEODE-1527: Locator javadoc mentions the old "gemfire" command Altered the javadoc to point the user at gfsh instead of gemfire. Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/d28ac959 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/d28ac959 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/d28ac959 Branch: refs/heads/develop Commit: d28ac959400e49d512561f3204696d85b306e8d4 Parents: f8dd6ce Author: Bruce Schuchardt Authored: Fri Jun 10 14:11:42 2016 -0700 Committer: Bruce Schuchardt Committed: Fri Jun 10 14:17:56 2016 -0700 ---------------------------------------------------------------------- .../gemstone/gemfire/distributed/Locator.java | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/d28ac959/geode-core/src/main/java/com/gemstone/gemfire/distributed/Locator.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/com/gemstone/gemfire/distributed/Locator.java b/geode-core/src/main/java/com/gemstone/gemfire/distributed/Locator.java index ddcc48a..8795b71 100644 --- a/geode-core/src/main/java/com/gemstone/gemfire/distributed/Locator.java +++ b/geode-core/src/main/java/com/gemstone/gemfire/distributed/Locator.java @@ -31,13 +31,7 @@ import com.gemstone.gemfire.internal.i18n.LocalizedStrings; * Represents a distribution locator server that provides discovery information * to members and clients of a GemFire distributed system. In most GemFire * distributed cache architectures, distribution locators are run in their own - * process. A stand-alone locator process is managed using - * {@linkplain com.gemstone.gemfire.admin.DistributionLocator administration - * API} or the gemfire command line utility: - * - *
- * $ gemfire start-locator
- * 
+ * process. A stand-alone locator process is managed using gfsh command line utility. * * The stand-alone locator configuration provides high-availability of * membership information. @@ -47,12 +41,16 @@ import com.gemstone.gemfire.internal.i18n.LocalizedStrings; * This class allows a GemFire application VM to host a distribution locator. * Such a configuration minimizes the number of processes that are required to * run GemFire. However, hosting distribution locators is not generally - * recommended because if the application VM exits, the primary membership list - * for the distributed system would be lost and it would not be possible for new - * applications to connect to the distributed system. + * recommended because if the application VM exits it would not be possible for new + * applications to connect to the distributed system until it is restarted. * *

+ * Locators persist membership information in a locatorXXXview.dat file. This + * file is used to recover information about the cluster when a locator starts + * if there are no other currently running locators. It allows the restarted + * locator to rejoin the cluster. * + *

* NOTE: In this release of the product locators log membership views and * cache server status in a locatorXXXviews.log file, where XXX is the locator's port. * This is a rolling log @@ -61,8 +59,8 @@ import com.gemstone.gemfire.internal.i18n.LocalizedStrings; * or be started so that it creates a DistributedSystem. This means that it is * not possible in this release to use APIs to start a locator and then * start a DistributedSystem. - * *

+ * * * @since GemFire 4.0 */