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:15 UTC

[04/15] incubator-spot git commit: Change sourcing of spot.conf

Change sourcing of spot.conf


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

Branch: refs/heads/SPOT-181_ODM
Commit: 46c0f3f316642869b07047f0853ec3de935cc677
Parents: 17f3959
Author: Tadd Wood <ta...@arcadiadata.com>
Authored: Mon Feb 12 10:16:26 2018 -0800
Committer: Tadd Wood <ta...@arcadiadata.com>
Committed: Mon Feb 12 10:48:39 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/46c0f3f3/spot-setup/odm/odm_setup.sh
----------------------------------------------------------------------
diff --git a/spot-setup/odm/odm_setup.sh b/spot-setup/odm/odm_setup.sh
index f23d2e3..0aa46f1 100755
--- a/spot-setup/odm/odm_setup.sh
+++ b/spot-setup/odm/odm_setup.sh
@@ -85,8 +85,9 @@ if [ "$format" != "pqt" ] && [ "$format" != "avro" ] ; then
     exit 1
 fi
 
-# Sourcing ODM Spot configuration variables
-source /etc/spot.conf
+# Sourcing spot configuration variables
+log "Sourcing ${SPOTCONF}\n"
+source $SPOTCONF
 
 # Creating HDFS user's folder
 sudo -u hdfs hdfs dfs -mkdir ${HUSER}