This pull request includes several bug fixes, features, and clean-ups
discovered while porting the Hadoop shim layer to the new bindings.
git@xxxxxxxxxx:noahdesu/ceph.git wip-java-cephfs
----------------------------------------------------------------
Noah Watkins (10):
java: add FileAlreadyExists exception
java: add O_WRONLY open flag
java: remove tabs to fix formatting
java: don't log after shutdown
java: add finalize() to catch missed shutdown call
java: prevent access to JNI after shutdown
java: mkdirs returns IOException
java: shutdown() should not throw CephNotMounted
java: add unit tests for usage after shutdown()
java: add doc to clarify role of shutdown()
src/java/Makefile.am | 3 +-
.../ceph/fs/CephFileAlreadyExistsException.java | 42 +++++
src/java/java/com/ceph/fs/CephMount.java | 168 +++++++++++++++-----
src/java/native/libcephfs_jni.cc | 21 +--
src/java/test/CephShutdownTest.java | 146 +++++++++++++++++
src/java/test/CephUnmountedTest.java | 12 +-
6 files changed, 343 insertions(+), 49 deletions(-)
create mode 100644 src/java/java/com/ceph/fs/CephFileAlreadyExistsException.java
create mode 100644 src/java/test/CephShutdownTest.java
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html