You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by ta...@apache.org on 2018/09/20 18:32:37 UTC

[1/2] incubator-spot git commit: Update odm_setup.sh

Repository: incubator-spot
Updated Branches:
  refs/heads/SPOT-181_ODM ee4e17d7e -> 6c5ef0a90


Update odm_setup.sh

Example for format argument usage corrected.

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

Branch: refs/heads/SPOT-181_ODM
Commit: 7fe5c8cd6095e8e8bb0073cc95bee9021b7666bc
Parents: ee4e17d
Author: Anna Dorottya Simon <si...@gmail.com>
Authored: Mon Aug 6 15:40:05 2018 +0200
Committer: GitHub <no...@github.com>
Committed: Mon Aug 6 15:40:05 2018 +0200

----------------------------------------------------------------------
 spot-setup/odm/odm_setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/7fe5c8cd/spot-setup/odm/odm_setup.sh
----------------------------------------------------------------------
diff --git a/spot-setup/odm/odm_setup.sh b/spot-setup/odm/odm_setup.sh
index 7fc10bd..7a48149 100755
--- a/spot-setup/odm/odm_setup.sh
+++ b/spot-setup/odm/odm_setup.sh
@@ -92,7 +92,7 @@ done
 
 # Check the format argument and make sure its supported
 if [ "$format" != "pqt" ] && [ "$format" != "avro" ] ; then
-    log "Format argument '$format' is not supported. Only Parquet and Avro are supported data storage formats. Use 'pqt' or 'avro'  instead (i.e. ./odm_setup pqt)."
+    log "Format argument '$format' is not supported. Only Parquet and Avro are supported data storage formats. Use 'pqt' or 'avro'  instead (i.e. ./odm_setup -f pqt)."
     exit 1
 fi
 
@@ -194,4 +194,4 @@ do
             ${impala_db_shell} --var=ODM_DBNAME=${DBNAME} --var=ODM_TABLENAME=${f} --var=ODM_LOCATION=${HUSER}/${d}/${f} --var=ODM_AVRO_URL=hdfs://${HUSER}/${d}/schema/${f}.avsc -c -f ${ODM_FILES_DIR}/create_${f}_avro.sql
         fi
 	done
-done
\ No newline at end of file
+done


[2/2] incubator-spot git commit: ml_ops.sh usage corrected

Posted by ta...@apache.org.
ml_ops.sh usage corrected

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

Branch: refs/heads/SPOT-181_ODM
Commit: 6c5ef0a90f9f36dd542f80a620467d438d5912c1
Parents: 7fe5c8c
Author: Anna Dorottya Simon <si...@gmail.com>
Authored: Wed Aug 29 11:41:20 2018 +0200
Committer: GitHub <no...@github.com>
Committed: Wed Aug 29 11:41:20 2018 +0200

----------------------------------------------------------------------
 spot-ml/ml_ops.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/6c5ef0a9/spot-ml/ml_ops.sh
----------------------------------------------------------------------
diff --git a/spot-ml/ml_ops.sh b/spot-ml/ml_ops.sh
index 977a58e..90cddb3 100755
--- a/spot-ml/ml_ops.sh
+++ b/spot-ml/ml_ops.sh
@@ -29,11 +29,11 @@ DY=${FDATE:6:2}
 if [[ "${#FDATE}" != "8" || -z "${DSOURCE}" ]]; then
     echo "ml_ops.sh syntax error"
     echo "Please run ml_ops.sh again with the correct syntax:"
-    echo "./ml_ops.sh YYYYMMDD TYPE [MAX RESULTS] [TOL]"
+    echo "./ml_ops.sh YYYYMMDD TYPE [TOL] [MAX RESULTS]"
     echo "for example:"
-    echo "./ml_ops.sh 20160122 dns 1000 1e-6"
+    echo "./ml_ops.sh 20160122 dns 1e-6 1000"
     echo "./ml_ops.sh 20160122 flow"
-    echo "./ml_ops.sh 20160122 proxy 100"
+    echo "./ml_ops.sh 20160122 proxy 1"
     exit
 fi