ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject [2/2] ranger git commit: RANGER-1223:Ranger doesn't have the correct error message when audit configuration file is not present
Date Wed, 25 Jan 2017 22:35:47 GMT
RANGER-1223:Ranger doesn't have the correct error message when audit configuration file is
not present

Signed-off-by: rmani <rmani@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 <rmani@hortonworks.com>
Authored: Wed Jan 25 13:57:22 2017 -0800
Committer: rmani <rmani@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;


Mime
View raw message