gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [20/25] gora git commit: LogAnalyticsSpark is let to run from command line by passing "loganalyticsspark" argument.
Date Thu, 03 Sep 2015 07:28:56 GMT
LogAnalyticsSpark is let to run from command line by passing "loganalyticsspark" argument.


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/6252eddf
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/6252eddf
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/6252eddf

Branch: refs/heads/master
Commit: 6252eddfecf5a9cba028e1d7529b6dee3ec5ef33
Parents: ad4f560
Author: Furkan KAMACI <furkankamaci@gmail.com>
Authored: Fri Aug 28 00:21:31 2015 +0300
Committer: Furkan KAMACI <furkankamaci@gmail.com>
Committed: Fri Aug 28 00:21:31 2015 +0300

----------------------------------------------------------------------
 bin/gora | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/6252eddf/bin/gora
----------------------------------------------------------------------
diff --git a/bin/gora b/bin/gora
index 7126972..8c37272 100755
--- a/bin/gora
+++ b/bin/gora
@@ -49,6 +49,7 @@ if [ $# = 0 ]; then
   echo "  goracisetup                Run the GoraCI Rackspace orchestration setup"
   echo "  logmanager                 Run the tutorial log manager"
   echo "  loganalytics               Run the tutorial log analytics"
+  echo "  loganalyticsspark          Run the tutorial log analytics spark"
   echo "  junit         	     Run the given JUnit test"
   echo "  version         	     Print Gora version to terminal"
   echo " or"
@@ -134,6 +135,10 @@ elif [ "$COMMAND" = "loganalytics" ] ; then
   MODULE=gora-tutorial
   CLASS=org.apache.gora.tutorial.log.LogAnalytics
   CLASSPATH=$CLASSPATH:$GORA_HOME/$MODULE/target/classes/
+elif [ "$COMMAND" = "loganalyticsspark" ] ; then
+  MODULE=gora-tutorial
+  CLASS=org.apache.gora.tutorial.log.LogAnalyticsSpark
+  CLASSPATH=$CLASSPATH:$GORA_HOME/$MODULE/target/classes/
 elif [ "$COMMAND" = "junit" ] ; then
   MODULE=*
   CLASSPATH=$CLASSPATH:$GORA_HOME/$MODULE/target/test-classes/


Mime
View raw message