You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2020/01/16 06:39:30 UTC

[ranger] 02/02: RANGER-2667: Set controlName to allow-all when disable presto plugin

This is an automated email from the ASF dual-hosted git repository.

pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 580f0aed6a0032c13643b517b8eef795fa2ccf72
Author: joey.ljy <jo...@alibaba-inc.com>
AuthorDate: Mon Dec 9 10:07:49 2019 +0800

    RANGER-2667: Set controlName to allow-all when disable presto plugin
    
    Signed-off-by: Pradeep <pr...@apache.org>
---
 agents-common/scripts/enable-agent.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index badea18..ad021fe 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -787,7 +787,7 @@ then
 	then
 		controlName="ranger"
 	else
-		controlName=""
+		controlName="allow-all"
 	fi
 	dt=`date '+%Y%m%d%H%M%S'`
 	fn=`ls ${HCOMPONENT_CONF_DIR}/access-control.properties 2> /dev/null`