You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by co...@apache.org on 2017/03/16 10:02:42 UTC

ranger git commit: RANGER-1458 - Starting Yarn failed after installing Ranger Yarn Plugin

Repository: ranger
Updated Branches:
  refs/heads/master 942f630ba -> 1ca8de3f4


RANGER-1458 - Starting Yarn failed after installing Ranger Yarn Plugin

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


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

Branch: refs/heads/master
Commit: 1ca8de3f4a322e8bc15cd948d616d015bf63625a
Parents: 942f630
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Mar 15 12:35:37 2017 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Thu Mar 16 10:02:37 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/ranger/blob/1ca8de3f/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index 9270c5f..86ee2c0 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -186,7 +186,8 @@ elif [ "${HCOMPONENT_NAME}" = "storm" ]; then
     HCOMPONENT_LIB_DIR=${HCOMPONENT_INSTALL_DIR}/extlib-daemon
 elif [ "${HCOMPONENT_NAME}" = "atlas" ]; then
     HCOMPONENT_LIB_DIR=${HCOMPONENT_INSTALL_DIR}/libext
-elif [ "${HCOMPONENT_NAME}" = "hadoop" ]; then
+elif [ "${HCOMPONENT_NAME}" = "hadoop" ] ||
+     [ "${HCOMPONENT_NAME}" = "yarn" ]; then
     HCOMPONENT_LIB_DIR=${HCOMPONENT_INSTALL_DIR}/share/hadoop/hdfs/lib
 fi