Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 400F810FD4 for ; Sat, 14 Dec 2013 05:29:23 +0000 (UTC) Received: (qmail 3940 invoked by uid 500); 14 Dec 2013 05:29:22 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 3859 invoked by uid 500); 14 Dec 2013 05:29:15 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 2631 invoked by uid 99); 14 Dec 2013 05:29:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 05:29:09 +0000 Date: Sat, 14 Dec 2013 05:29:09 +0000 (UTC) From: "Sean Busbey (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1901) start-here.sh starts only one GC process even if more are defined MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848237#comment-13848237 ] Sean Busbey commented on ACCUMULO-1901: --------------------------------------- [~mdrob], the original behavior of the start scripts in 1.4.x was that *specifying* a host for tracers, gc, and monitor was all optional. In the case of not specifying a config file for any of these, the first host listed in the masters file was used instead. If you don't use "start-all.sh" (or "start-here.sh" on the first host in the masters file) then running said processes would be optional. > start-here.sh starts only one GC process even if more are defined > ----------------------------------------------------------------- > > Key: ACCUMULO-1901 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1901 > Project: Accumulo > Issue Type: Bug > Components: gc, scripts > Affects Versions: 1.4.2, 1.4.3, 1.4.4, 1.5.0 > Environment: Red Hat Enterprise Linux 6.3 64-bit > Reporter: Terry Porter > Assignee: Terry Porter > Priority: Minor > Labels: gc, newbie > Fix For: 1.4.5, 1.5.1, 1.6.0 > > Original Estimate: 1h > Remaining Estimate: 1h > > Even when a second host is listed in the gc file, the gc process is only ever started on the first host listed in the gc file. The issue lies in lines 48-55 in start-here.sh as shown below: > {code} > for host in $HOSTS > do > if [ ${host} = ${GC} ] > then > ${bin}/start-server.sh $GC gc "garbage collector" > break > fi > done > {code} > Simple fix: > {code} > for host in $HOSTS > do > if grep -q "^${host}\$" $ACCUMULO_HOME/conf/gc > then > ${bin}/start-server.sh ${host} gc "garbage collector" > break > fi > done > {code} > This fix works in my 1.4.2 environment. stop-here.sh already sweeps all possible processes to kill them, so I assumed no fix was needed there, but on my last cluster shutdown I found the stop-all.sh script only stopped the GC on the Master host. That fix is still outstanding. -- This message was sent by Atlassian JIRA (v6.1.4#6159)