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:47 UTC

[2/2] ranger git commit: RANGER-1223:Ranger doesn't have the correct error message when audit configuration file is not present

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;