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

ranger git commit: RANGER-1412:Start hadoop failed after enabling ranger HDFS plugins

Repository: ranger
Updated Branches:
  refs/heads/master d5e5ad5f8 -> 432f9f7ac


RANGER-1412:Start hadoop failed after enabling ranger HDFS plugins

Signed-off-by: zhangqiang2 <zh...@zte.com.cn>


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

Branch: refs/heads/master
Commit: 432f9f7ac0b98fb0b1f144f56df4f7a7efcca5f2
Parents: d5e5ad5
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Mon Feb 27 03:54:48 2017 -0500
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Thu Mar 9 20:08:28 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/ranger/blob/432f9f7a/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index b8b79a9..1cc030a 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -186,6 +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
+    HCOMPONENT_LIB_DIR=${HCOMPONENT_INSTALL_DIR}/share/hadoop/hdfs/lib
 fi
 
 HCOMPONENT_CONF_DIR=${HCOMPONENT_INSTALL_DIR}/conf