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 C20AC200B63 for ; Mon, 15 Aug 2016 20:21:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0D23160AA7; Mon, 15 Aug 2016 18:21:27 +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 1CD8C160A8A for ; Mon, 15 Aug 2016 20:21:26 +0200 (CEST) Received: (qmail 58464 invoked by uid 500); 15 Aug 2016 18:21:26 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 58454 invoked by uid 99); 15 Aug 2016 18:21:26 -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; Mon, 15 Aug 2016 18:21:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 35550E00D6; Mon, 15 Aug 2016 18:21:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dlmarion@apache.org To: commits@accumulo.apache.org Message-Id: <0c730bbcd46a4c8ea586e962867559b6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: accumulo git commit: ACCUMULO-4406: Only add numbered .out and .err files when we have multiple tservers Date: Mon, 15 Aug 2016 18:21:26 +0000 (UTC) archived-at: Mon, 15 Aug 2016 18:21:27 -0000 Repository: accumulo Updated Branches: refs/heads/ACCUMULO-4406 9d181295e -> 01ecd2f41 ACCUMULO-4406: Only add numbered .out and .err files when we have multiple tservers Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/01ecd2f4 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/01ecd2f4 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/01ecd2f4 Branch: refs/heads/ACCUMULO-4406 Commit: 01ecd2f410631dae4e97bfa6be652ee300c9158e Parents: 9d18129 Author: Dave Marion Authored: Mon Aug 15 14:21:00 2016 -0400 Committer: Dave Marion Committed: Mon Aug 15 14:21:00 2016 -0400 ---------------------------------------------------------------------- assemble/bin/start-daemon.sh | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/01ecd2f4/assemble/bin/start-daemon.sh ---------------------------------------------------------------------- diff --git a/assemble/bin/start-daemon.sh b/assemble/bin/start-daemon.sh index 3e510eb..c02970f 100755 --- a/assemble/bin/start-daemon.sh +++ b/assemble/bin/start-daemon.sh @@ -103,13 +103,6 @@ if [[ "$SERVICE" != "tserver" || $NUM_TSERVERS -eq 1 ]]; then fi echo "Starting $SERVICE on $HOST" - OUTFILE="${ACCUMULO_LOG_DIR}/${SERVICE}_1_${LOGHOST}.out" - ERRFILE="${ACCUMULO_LOG_DIR}/${SERVICE}_1_${LOGHOST}.err" - - # Rotate the .out and .err files - rotate_log "$OUTFILE" ${ACCUMULO_NUM_OUT_FILES} - rotate_log "$ERRFILE" ${ACCUMULO_NUM_OUT_FILES} - # Fork the process, store the pid nohup ${NUMA_CMD} "$COMMAND" "${SERVICE}" --address "${ADDRESS}" >"$OUTFILE" 2>"$ERRFILE" < /dev/null & echo $! > ${PID_FILE}