package tachyon.hadoop;

import java.io.IOException;
import java.io.OutputStream;

import org.apache.hadoop.fs.Syncable;

import tachyon.client.TachyonFile;
import tachyon.client.WriteType;

public class HdfsFileOutputStream extends OutputStream implements Syncable {

  HdfsFileOutputStream(TachyonFile file, WriteType writeType) {
    // TODO Auto-generated constructor stub
  }

  @Override
  public void sync() throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void write(int b) throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void write(byte[] b) throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void write(byte[] b, int off, int len) throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void flush() throws IOException {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void close() throws IOException {
    // TODO Auto-generated method stub
    
  }
}

@@ -76,16 +76,18 @@
 tream;%0A%0A
+//
 import o
@@ -116,16 +116,16 @@
 ncable;%0A
-
 %0Aimport 
@@ -240,16 +240,21 @@
 utStream
+ %7B //
  impleme
@@ -378,24 +378,26 @@
 r stub%0A  %7D%0A%0A
+//
   @Override%0A
@@ -388,32 +388,34 @@
 %0A%0A//  @Override%0A
+//
   public void sy
@@ -432,32 +432,34 @@
 s IOException %7B%0A
+//
     // TODO Auto
@@ -473,37 +473,41 @@
 ted method stub%0A
+//
     %0A
+//
   %7D%0A%0A  @Override

fix compile for hadoop 2