]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Hadoop: Removed deprecated functions
authorGreg Farnum <gregf@hq.newdream.net>
Thu, 30 Jul 2009 02:29:36 +0000 (19:29 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 30 Jul 2009 21:40:10 +0000 (14:40 -0700)
src/client/hadoop/ceph/CephFileSystem.java

index e99ddc71176b2d1175d2980e0d235023814c82d4..5de9a2c13a74727f65197f3a939a81791219a30f 100644 (file)
@@ -546,36 +546,6 @@ public class CephFileSystem extends FileSystem {
     //return getConf().getLong("fs.ceph.block.size", DEFAULT_BLOCK_SIZE);
   }
 
-  /**
-   * Return 1x1 'localhost' cell if the file exists. Return null if otherwise.
-   */
-  public String[][] getFileCacheHints(Path f, long start, long len)
-    throws IOException {
-    // TODO: Check this is the correct behavior
-    if (!exists(f)) {
-      return null;
-    }
-    return new String[][] { { "localhost" } };
-  }
-
-  public void lock(Path path, boolean shared) throws IOException {
-    // TODO: Design and implement? or just ignore locking?
-    return;
-  }
-
-  public void release(Path path) throws IOException {
-    return; //deprecated
-  }
-
-  /* old API
-     @Override
-     public void reportChecksumFailure(Path f, 
-     FSDataInputStream in, long inPos, 
-     FSDataInputStream sums, long sumsPos) {
-     // TODO: What to do here?
-     return;
-     } */
-
   @Override
     public void moveFromLocalFile(Path src, Path dst) throws IOException {
     debug("moveFromLocalFile:enter with src " + src + " and dest " + dst);