drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [4/4] git commit: DRILL-652: Include drillbit log path when running drillbit.sh
Date Fri, 16 May 2014 21:17:43 GMT
DRILL-652: Include drillbit log path when running drillbit.sh


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/70fab8c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/70fab8c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/70fab8c9

Branch: refs/heads/master
Commit: 70fab8c968a6dc05471aa1f32009cd15945d4f3d
Parents: 1ba1603
Author: Steven Phillips <sphillips@maprtech.com>
Authored: Tue May 6 21:14:26 2014 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Fri May 16 13:38:13 2014 -0700

----------------------------------------------------------------------
 distribution/src/resources/drillbit.sh | 2 +-
 distribution/src/resources/runbit      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/70fab8c9/distribution/src/resources/drillbit.sh
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drillbit.sh b/distribution/src/resources/drillbit.sh
index 3bd0126..212d5d8 100755
--- a/distribution/src/resources/drillbit.sh
+++ b/distribution/src/resources/drillbit.sh
@@ -152,7 +152,7 @@ loglog="${DRILL_LOG_DIR}/${DRILL_LOGFILE}"
 logout="${DRILL_LOG_DIR}/${DRILL_OUTFILE}"
 pid=$DRILL_PID_DIR/drillbit.pid
 
-DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Dlog.path=$loglog"
+export DRILLBIT_LOG_PATH=$loglog
 
 if [ -n "$SERVER_GC_OPTS" ]; then
   export SERVER_GC_OPTS=${SERVER_GC_OPTS/"-Xloggc:<FILE-PATH>"/"-Xloggc:${loggc}"}

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/70fab8c9/distribution/src/resources/runbit
----------------------------------------------------------------------
diff --git a/distribution/src/resources/runbit b/distribution/src/resources/runbit
index 3558c61..657e701 100755
--- a/distribution/src/resources/runbit
+++ b/distribution/src/resources/runbit
@@ -20,4 +20,4 @@ bin=`cd "$bin">/dev/null; pwd`
 
 . "$bin"/drill-config.sh
 
-exec $JAVA $DRILLBIT_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP org.apache.drill.exec.server.Drillbit
+exec $JAVA -Dlog.path=$DRILLBIT_LOG_PATH $DRILLBIT_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP org.apache.drill.exec.server.Drillbit


Mime
View raw message