incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixing a script problem.
Date Fri, 30 Jan 2015 21:39:48 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 26563dd0c -> d227cb351


Fixing a script problem.


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

Branch: refs/heads/master
Commit: d227cb3519a428b4ec36b3a8974077e6c8d70327
Parents: 26563dd
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri Jan 30 16:39:35 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri Jan 30 16:39:35 2015 -0500

----------------------------------------------------------------------
 distribution/src/main/scripts/bin/blur | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d227cb35/distribution/src/main/scripts/bin/blur
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/bin/blur b/distribution/src/main/scripts/bin/blur
index 935386e..c3f4050 100755
--- a/distribution/src/main/scripts/bin/blur
+++ b/distribution/src/main/scripts/bin/blur
@@ -23,15 +23,15 @@ PROC_NAME=$1
 if [ $# -eq 0 ]; then
   "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH org.apache.blur.shell.Main shell help
 elif [ $1 = "shell" ]; then
-  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH org.apache.blur.shell.Main ${@:2}
+  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH org.apache.blur.shell.Main "${@:2}"
 elif [ $1 = "execute" ]; then
-  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH ${@:2}
+  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH "${@:2}"
 elif [ $1 = "csvloader" ]; then
   for f in $BLUR_HOME/lib/*.jar; do
     BLUR_BASE_CLASSPATH=${BLUR_BASE_CLASSPATH}:$f;
   done
   export HADOOP_CLASSPATH=$BLUR_BASE_CLASSPATH
-  hadoop jar $BLUR_HOME/lib/blur-mapred-*.jar org.apache.blur.mapreduce.lib.CsvBlurDriver
${@:2}
+  hadoop jar $BLUR_HOME/lib/blur-mapred-*.jar org.apache.blur.mapreduce.lib.CsvBlurDriver
"${@:2}"
 else
-  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH org.apache.blur.shell.Main shell ${@:1}
+  "$JAVA_HOME"/bin/java -Dblur.name=$PROC_NAME -Djava.library.path=$JAVA_LIBRARY_PATH $BLUR_COMMAND
-Dblur.logs.dir=$BLUR_LOGS -Dblur.log.file=blur-$USER-$PROC_NAME -Dlog4j.configuration=file://$BLUR_HOME/conf/log4j-command.xml
-cp $BLUR_CLASSPATH org.apache.blur.shell.Main shell "${@:1}"
 fi


Mime
View raw message