You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2017/01/25 22:35:46 UTC
[1/2] ranger git commit: RANGER-1307:Enable Deny and Exclusions
conditions in Ranger Policies for WASB service-def
Repository: ranger
Updated Branches:
refs/heads/master 28d2ed14d -> 05248d513
RANGER-1307:Enable Deny and Exclusions conditions in Ranger Policies for WASB service-def
Signed-off-by: rmani <rm...@hortonworks.com>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/de68fbdc
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/de68fbdc
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/de68fbdc
Branch: refs/heads/master
Commit: de68fbdcee485dacbfa9a7f6841388cc475502d1
Parents: 28d2ed1
Author: rmani <rm...@hortonworks.com>
Authored: Wed Jan 25 13:48:01 2017 -0800
Committer: rmani <rm...@hortonworks.com>
Committed: Wed Jan 25 14:34:18 2017 -0800
----------------------------------------------------------------------
.../src/main/resources/service-defs/ranger-servicedef-wasb.json | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/de68fbdc/agents-common/src/main/resources/service-defs/ranger-servicedef-wasb.json
----------------------------------------------------------------------
diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-wasb.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-wasb.json
index b6f600c..038ebaf 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-wasb.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-wasb.json
@@ -105,6 +105,7 @@
"label": "Common Name for Certificate"
}
],
+ "options": { "enableDenyAndExceptionsInPolicies": "true" },
"contextEnrichers": [],
"policyConditions": []
}
[2/2] ranger git commit: RANGER-1223:Ranger doesn't have the correct
error message when audit configuration file is not present
Posted by rm...@apache.org.
RANGER-1223:Ranger doesn't have the correct error message when audit configuration file is not present
Signed-off-by: rmani <rm...@hortonworks.com>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/05248d51
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/05248d51
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/05248d51
Branch: refs/heads/master
Commit: 05248d513f43a164820339b87b82481e871abf56
Parents: de68fbd
Author: rmani <rm...@hortonworks.com>
Authored: Wed Jan 25 13:57:22 2017 -0800
Committer: rmani <rm...@hortonworks.com>
Committed: Wed Jan 25 14:35:25 2017 -0800
----------------------------------------------------------------------
.../authorization/hadoop/config/RangerLegacyConfigBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/05248d51/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerLegacyConfigBuilder.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerLegacyConfigBuilder.java b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerLegacyConfigBuilder.java
index 3b0a3fc..066c995 100644
--- a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerLegacyConfigBuilder.java
+++ b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerLegacyConfigBuilder.java
@@ -128,7 +128,7 @@ public class RangerLegacyConfigBuilder {
}
}
catch(Throwable t) {
- LOG.error("Unable to locate audit file location." + fName + " " + t);
+ LOG.error("Missing Ranger Audit configuration files...");
throw t;
}
return ret;