Repository: incubator-ranger Updated Branches: refs/heads/master 1aad34987 -> 847e0733b
RANGER-1114 : Nimbus, Storm UI server stopped after disabling ranger plugins Signed-off-by: Velmurugan Periasamy <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/847e0733 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/847e0733 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/847e0733 Branch: refs/heads/master Commit: 847e0733b97238249808f249f44a4d46ff8dfbeb Parents: 1aad349 Author: Mehul Parikh <[email protected]> Authored: Wed Jul 20 16:10:58 2016 +0530 Committer: Velmurugan Periasamy <[email protected]> Committed: Thu Jul 21 14:36:58 2016 -0400 ---------------------------------------------------------------------- agents-common/scripts/enable-agent.sh | 6 +++--- plugin-kms/scripts/enable-kms-plugin.sh | 6 +++--- storm-agent/scripts/uninstall.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/847e0733/agents-common/scripts/enable-agent.sh ---------------------------------------------------------------------- diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh index d612d19..b8b79a9 100755 --- a/agents-common/scripts/enable-agent.sh +++ b/agents-common/scripts/enable-agent.sh @@ -694,13 +694,13 @@ then } { if ($1 == "nimbus.authorizer") { - if ($2 ~ /^[ \t]*"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { + if ($2 ~ /^[ \t]*"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { configured = 1 ; printf("%s\n",$0) ; } else { printf("#%s\n",$0); - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; configured = 1 ; } } @@ -710,7 +710,7 @@ then } END { if (configured == 0) { - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; } }' ${CFG_FILE} > ${CFG_FILE}.new && cat ${CFG_FILE}.new > ${CFG_FILE} && rm -f ${CFG_FILE}.new fi http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/847e0733/plugin-kms/scripts/enable-kms-plugin.sh ---------------------------------------------------------------------- diff --git a/plugin-kms/scripts/enable-kms-plugin.sh b/plugin-kms/scripts/enable-kms-plugin.sh index 375544a..b2701a8 100755 --- a/plugin-kms/scripts/enable-kms-plugin.sh +++ b/plugin-kms/scripts/enable-kms-plugin.sh @@ -639,13 +639,13 @@ then } { if ($1 == "nimbus.authorizer") { - if ($2 ~ /^[ \t]*"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { + if ($2 ~ /^[ \t]*"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { configured = 1 ; printf("%s\n",$0) ; } else { printf("#%s\n",$0); - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; configured = 1 ; } } @@ -655,7 +655,7 @@ then } END { if (configured == 0) { - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; } }' ${CFG_FILE} > ${CFG_FILE}.new && cat ${CFG_FILE}.new > ${CFG_FILE} && rm -f ${CFG_FILE}.new fi http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/847e0733/storm-agent/scripts/uninstall.sh ---------------------------------------------------------------------- diff --git a/storm-agent/scripts/uninstall.sh b/storm-agent/scripts/uninstall.sh index 28b46fe..5ba2e18 100644 --- a/storm-agent/scripts/uninstall.sh +++ b/storm-agent/scripts/uninstall.sh @@ -32,13 +32,13 @@ awk -F: 'BEGIN { } { if ($1 == "nimbus.authorizer") { - if ($2 ~ /^[ \t]*"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { + if ($2 ~ /^[ \t]*"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer"[ \t]*$/) { configured = 1 ; printf("%s\n",$0) ; } else { printf("#%s\n",$0); - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; configured = 1 ; } } @@ -48,7 +48,7 @@ awk -F: 'BEGIN { } END { if (configured == 0) { - printf("nimbus.authorizer: \"backtype.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; + printf("nimbus.authorizer: \"org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer\"\n") ; } }' ${ARCHIVE_FILE} > ${ARCHIVE_FILE}.new
