ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/2] ranger git commit: RANGER-1455 - Incorrect conf dir in scripts for Hadoop
Date Fri, 07 Apr 2017 13:38:52 GMT
Repository: ranger
Updated Branches:
  refs/heads/master 1d18e76da -> a20e7a2f9


RANGER-1455 - Incorrect conf dir in scripts for Hadoop

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/8cc43743
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/8cc43743
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/8cc43743

Branch: refs/heads/master
Commit: 8cc43743df75968bf92d52523fd5d4804de98175
Parents: 1d18e76
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Mar 14 16:53:02 2017 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Fri Apr 7 14:31:47 2017 +0100

----------------------------------------------------------------------
 agents-common/scripts/enable-agent.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/8cc43743/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index 86ee2c0..14e9577 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -203,6 +203,8 @@ if [ "${HCOMPONENT_NAME}" = "solr" ]; then
     fi    
 elif [ "${HCOMPONENT_NAME}" = "kafka" ]; then
     HCOMPONENT_CONF_DIR=${HCOMPONENT_INSTALL_DIR}/config
+elif [ "${HCOMPONENT_NAME}" = "hadoop" ]; then
+    HCOMPONENT_CONF_DIR=${HCOMPONENT_INSTALL_DIR}/etc/hadoop
 fi
 
 HCOMPONENT_ARCHIVE_CONF_DIR=${HCOMPONENT_CONF_DIR}/.archive


Mime
View raw message