From: Greg Farnum Date: Tue, 13 Oct 2009 18:16:14 +0000 (-0700) Subject: Hadoop: Remove some unused data members/methods. X-Git-Tag: v0.17~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=67e5d49d9fe2bee673c7d7429d27c67b9da26e5b;p=ceph.git Hadoop: Remove some unused data members/methods. --- diff --git a/src/client/hadoop/ceph/CephFileSystem.java b/src/client/hadoop/ceph/CephFileSystem.java index 072f4c548c65..98d725e880ea 100644 --- a/src/client/hadoop/ceph/CephFileSystem.java +++ b/src/client/hadoop/ceph/CephFileSystem.java @@ -75,15 +75,12 @@ public class CephFileSystem extends FileSystem { private boolean initialized = false; private boolean debug = false; - private String cephDebugLevel; - private String monAddr; private String fs_default_name; private native boolean ceph_initializeClient(String arguments, int block_size); private native String ceph_getcwd(); private native boolean ceph_setcwd(String path); private native boolean ceph_rmdir(String path); - private native boolean ceph_mkdir(String path); private native boolean ceph_unlink(String path); private native boolean ceph_rename(String old_path, String new_path); private native boolean ceph_exists(String path); diff --git a/src/client/hadoop/ceph/CephInputStream.java b/src/client/hadoop/ceph/CephInputStream.java index c16b614fce3b..da75b6d08f94 100644 --- a/src/client/hadoop/ceph/CephInputStream.java +++ b/src/client/hadoop/ceph/CephInputStream.java @@ -39,8 +39,6 @@ import org.apache.hadoop.fs.FSInputStream; */ public class CephInputStream extends FSInputStream { - private int bufferSize; - private boolean closed; private int fileHandle; diff --git a/src/client/hadoop/ceph/CephOutputStream.java b/src/client/hadoop/ceph/CephOutputStream.java index 99fa68151d50..6751f71dcca7 100644 --- a/src/client/hadoop/ceph/CephOutputStream.java +++ b/src/client/hadoop/ceph/CephOutputStream.java @@ -41,8 +41,6 @@ import org.apache.hadoop.util.Progressable; */ public class CephOutputStream extends OutputStream { - private int bufferSize; - private boolean closed; private int fileHandle; @@ -50,7 +48,6 @@ public class CephOutputStream extends OutputStream { private boolean debug; - private native long ceph_seek_from_start(int fh, long pos); private native long ceph_getpos(int fh); private native int ceph_close(int fh); private native int ceph_write(int fh, byte[] buffer, int buffer_offset, int length);