You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by na...@apache.org on 2018/03/19 19:09:20 UTC
[09/15] incubator-spot git commit: Fix logging message to show
odm_setup.sh instead of hdfs_setup
Fix logging message to show odm_setup.sh instead of hdfs_setup
Also added more notes on how to use certain arguments when running odm_setup.sh at the top of the script.
Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/095695a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/095695a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/095695a3
Branch: refs/heads/SPOT-181_ODM
Commit: 095695a3943ce0de9acc34293d55988d05d64390
Parents: c0f3870
Author: Tadd Wood <ta...@arcadiadata.com>
Authored: Wed Feb 14 12:02:48 2018 -0800
Committer: Tadd Wood <ta...@arcadiadata.com>
Committed: Wed Feb 14 12:02:48 2018 -0800
----------------------------------------------------------------------
spot-setup/odm/odm_setup.sh | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/095695a3/spot-setup/odm/odm_setup.sh
----------------------------------------------------------------------
diff --git a/spot-setup/odm/odm_setup.sh b/spot-setup/odm/odm_setup.sh
index 3abefc8..dd31d55 100755
--- a/spot-setup/odm/odm_setup.sh
+++ b/spot-setup/odm/odm_setup.sh
@@ -20,7 +20,15 @@
# Instructions
# To execute this script, run ./odm_setup with a format type (pqt, avro) as an argument.
#
-# i.e. ./odm_setup pqt
+# i.e. ./odm_setup -f pqt
+#
+# Required Arguments:
+# -f : desired storage format for ODM tables
+#
+# Optional Arguments:
+# --no-sudo : run hdfs commands without sudo
+# -c : provide custom path to spot.conf
+#
#
# NOTE: At this time only Parquet and Avro storage formats are supported for the ODM tables.
@@ -29,7 +37,7 @@ set -e
function log() {
# General logger for the ODM setup script that prints any input provided to it
- printf "hdfs_setup.sh:\n $1\n"
+ printf "odm_setup.sh:\n $1\n"
}
function safe_mkdir() {