flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muba...@apache.org
Subject svn commit: r1368361 - /flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java
Date Thu, 02 Aug 2012 06:33:15 GMT
Author: mubarak
Date: Thu Aug  2 06:33:15 2012
New Revision: 1368361

URL: http://svn.apache.org/viewvc?rev=1368361&view=rev
Log:
FLUME-1391. Use sync() instead of syncFs() in HDFS Sink to be compatible with hadoop 0.20.2.

(Yongkun Wang via Jarek Jarcec Cecho)

Modified:
    flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java

Modified: flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java
URL: http://svn.apache.org/viewvc/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java?rev=1368361&r1=1368360&r2=1368361&view=diff
==============================================================================
--- flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java
(original)
+++ flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java
Thu Aug  2 06:33:15 2012
@@ -74,7 +74,7 @@ public class HDFSSequenceFile implements
 
   @Override
   public void sync() throws IOException {
-    writer.syncFs();
+    writer.sync();
   }
 
   @Override



Mime
View raw message