]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Hadoop: CephInputStream seekNewSource done. That was easy.
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 22 Jul 2009 18:36:50 +0000 (11:36 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 22 Jul 2009 18:37:01 +0000 (11:37 -0700)
src/client/hadoop/ceph/CephInputStream.java

index 79b747c6a4e6b65426d35752431be2def5f78590..71b09e16e843b4ac93f02bb904b4e54960e25549 100644 (file)
@@ -96,9 +96,11 @@ class CephInputStream extends FSInputStream {
     ceph_seek_from_start(targetPos);
   }
 
-  //method stub obviously
+  //failovers are handled by the Ceph code at a very low level;
+  //if there are issues that can be solved by changing sources
+  //they'll be dealt with before anybody even tries to call this method!
   public synchronized boolean seekToNewSource(long targetPos) {
-    return true;
+    return false;
   }