From 67e5d49d9fe2bee673c7d7429d27c67b9da26e5b Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 13 Oct 2009 11:16:14 -0700 Subject: [PATCH] Hadoop: Remove some unused data members/methods. --- src/client/hadoop/ceph/CephFileSystem.java | 3 --- src/client/hadoop/ceph/CephInputStream.java | 2 -- src/client/hadoop/ceph/CephOutputStream.java | 3 --- 3 files changed, 8 deletions(-) diff --git a/src/client/hadoop/ceph/CephFileSystem.java b/src/client/hadoop/ceph/CephFileSystem.java index 072f4c548c652..98d725e880eab 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 c16b614fce3b0..da75b6d08f945 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 99fa68151d504..6751f71dcca7b 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); -- 2.39.5