ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [1/4] git commit: ARGUS-5: To form HDFS path, use org.apache.hadoop.fs.Path.SEPARATOR instead of File.Separator
Date Wed, 24 Sep 2014 17:39:08 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master bffdbd999 -> 4058fd2bb


ARGUS-5: To form HDFS path, use org.apache.hadoop.fs.Path.SEPARATOR
instead of File.Separator

Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/c47bcb51
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/c47bcb51
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/c47bcb51

Branch: refs/heads/master
Commit: c47bcb51d6390c533a1376cffe3813e888be89f5
Parents: 647cdb7
Author: mneethiraj <mneethiraj@hortonworks.com>
Authored: Tue Sep 23 15:59:12 2014 -0700
Committer: mneethiraj <mneethiraj@hortonworks.com>
Committed: Tue Sep 23 15:59:12 2014 -0700

----------------------------------------------------------------------
 .../java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/c47bcb51/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java
b/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java
index c524e0b..3c3a0a4 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsLogDestination.java
@@ -175,7 +175,7 @@ public class HdfsLogDestination<T> implements LogDestination<T>
{
 
 		long startTime = MiscUtil.getRolloverStartTime(mNextRolloverTime, (mRolloverIntervalSeconds
* 1000L));
 
-		mHdfsFilename = MiscUtil.replaceTokens(mDirectory + File.separator + mFile, startTime);
+		mHdfsFilename = MiscUtil.replaceTokens(mDirectory + org.apache.hadoop.fs.Path.SEPARATOR
+ mFile, startTime);
 
 		FSDataOutputStream ostream     = null;
 		FileSystem         fileSystem  = null;


Mime
View raw message