Return-Path: X-Original-To: apmail-argus-commits-archive@minotaur.apache.org Delivered-To: apmail-argus-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9DD511E99 for ; Wed, 24 Sep 2014 17:39:29 +0000 (UTC) Received: (qmail 53688 invoked by uid 500); 24 Sep 2014 17:39:29 -0000 Delivered-To: apmail-argus-commits-archive@argus.apache.org Received: (qmail 53669 invoked by uid 500); 24 Sep 2014 17:39:29 -0000 Mailing-List: contact commits-help@argus.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@argus.incubator.apache.org Delivered-To: mailing list commits@argus.incubator.apache.org Received: (qmail 53660 invoked by uid 99); 24 Sep 2014 17:39:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 17:39:29 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Sep 2014 17:39:28 +0000 Received: (qmail 53318 invoked by uid 99); 24 Sep 2014 17:39:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 17:39:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 358608AFE6A; Wed, 24 Sep 2014 17:39:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: madhan@apache.org To: commits@argus.incubator.apache.org Date: Wed, 24 Sep 2014 17:39:08 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/4] git commit: ARGUS-5: To form HDFS path, use org.apache.hadoop.fs.Path.SEPARATOR instead of File.Separator X-Virus-Checked: Checked by ClamAV on apache.org 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 Authored: Tue Sep 23 15:59:12 2014 -0700 Committer: mneethiraj 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 implements LogDestination { 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;