accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmar...@apache.org
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 GMT
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 <dlmarion@apache.org>
Authored: Mon Aug 15 14:21:00 2016 -0400
Committer: Dave Marion <dlmarion@apache.org>
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}


Mime
View raw message