From: Greg Farnum Date: Wed, 22 Jul 2009 18:36:50 +0000 (-0700) Subject: Hadoop: CephInputStream seekNewSource done. That was easy. X-Git-Tag: v0.11~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d88a4b38be331bc04693f1ec3869aa5c6b96b600;p=ceph.git Hadoop: CephInputStream seekNewSource done. That was easy. --- diff --git a/src/client/hadoop/ceph/CephInputStream.java b/src/client/hadoop/ceph/CephInputStream.java index 79b747c6a4e6..71b09e16e843 100644 --- a/src/client/hadoop/ceph/CephInputStream.java +++ b/src/client/hadoop/ceph/CephInputStream.java @@ -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; }