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/11 02:43:07 UTC
ranger git commit: RANGER-1386
Repository: ranger
Updated Branches:
refs/heads/master 29eda27ef -> a9fb73f42
RANGER-1386
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/a9fb73f4
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/a9fb73f4
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/a9fb73f4
Branch: refs/heads/master
Commit: a9fb73f420b8a3af9938f8d5f49d43ed4e1d6eb0
Parents: 29eda27
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Fri Mar 10 09:36:58 2017 +0800
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Fri Mar 10 21:42:32 2017 -0500
----------------------------------------------------------------------
hdfs-agent/disable-conf/hdfs-site-changes.cfg | 19 +++++++++++++++++++
src/main/assembly/hdfs-agent.xml | 5 +++++
2 files changed, 24 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/a9fb73f4/hdfs-agent/disable-conf/hdfs-site-changes.cfg
----------------------------------------------------------------------
diff --git a/hdfs-agent/disable-conf/hdfs-site-changes.cfg b/hdfs-agent/disable-conf/hdfs-site-changes.cfg
new file mode 100644
index 0000000..652bf2e
--- /dev/null
+++ b/hdfs-agent/disable-conf/hdfs-site-changes.cfg
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# This is to ensure that the dfs permission are being enabled for verification of the DFS permissions
+# XAAgents will be able to look into permission check only if these flag is set to TRUE
+#
+dfs.namenode.inode.attributes.provider.class org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer delval - ,
http://git-wip-us.apache.org/repos/asf/ranger/blob/a9fb73f4/src/main/assembly/hdfs-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/hdfs-agent.xml b/src/main/assembly/hdfs-agent.xml
index 63e426a..5279a9a 100644
--- a/src/main/assembly/hdfs-agent.xml
+++ b/src/main/assembly/hdfs-agent.xml
@@ -112,6 +112,11 @@
</excludes>
<fileMode>700</fileMode>
</fileSet>
+ <fileSet>
+ <outputDirectory>/install/conf.templates/disable</outputDirectory>
+ <directory>hdfs-agent/disable-conf</directory>
+ <fileMode>700</fileMode>
+ </fileSet>
<!-- version file -->
<fileSet>
<outputDirectory>/</outputDirectory>