Repository: ranger
Updated Branches:
  refs/heads/master 29d9322ec -> 54c87fec5


RANGER-1876 - Incorrect conf dir location for Yarn install script

Signed-off-by: Colm O hEigeartaigh <[email protected]>


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

Branch: refs/heads/master
Commit: 54c87fec53986dbe6e798aeab8e2a1d628c280b3
Parents: 29d9322
Author: Colm O hEigeartaigh <[email protected]>
Authored: Tue Nov 7 15:27:14 2017 +0000
Committer: Colm O hEigeartaigh <[email protected]>
Committed: Wed Nov 8 09:49:16 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/ranger/blob/54c87fec/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh 
b/agents-common/scripts/enable-agent.sh
index f105f54..d77e4f9e 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -225,6 +225,8 @@ 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
+elif [ "${HCOMPONENT_NAME}" = "yarn" ]; then
+    HCOMPONENT_CONF_DIR=${HCOMPONENT_INSTALL_DIR}/etc/hadoop
 elif [ "${HCOMPONENT_NAME}" = "sqoop" ]; then
     HCOMPONENT_CONF_DIR=${HCOMPONENT_INSTALL_DIR}/conf
 fi

Reply via email to