Discussion:
[ceph-users] Using ceph with hadoop error
2013-10-14 03:28:02 UTC
Permalink
hi all:
I configure the ceph with hadoop system; when I run the commod
# hadoop fs -ls
It return the folliws :
Exception in thread "main" java.lang.NoClassDefFoundError: com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
.
.
.
Caused by : java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
.
.
.

what mistake I make!
thank you !
pengft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20131014/ac2d8617/attachment.htm>
Noah Watkins
2013-10-14 14:41:18 UTC
Permalink
Post by 鹏
com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
This looks like a bug, which I'll fixup today. But it shouldn't be
related to the problems you are seeing.
Post by 鹏
java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
This looks like you don't have the CephFS Java bindings in a place
that Hadoop can locate. Typically you can stick the libcephfs-jar file
into the lib directory of Hadoop, or add it to your classpath.
2013-10-14 03:28:02 UTC
Permalink
hi all:
I configure the ceph with hadoop system; when I run the commod
# hadoop fs -ls
It return the folliws :
Exception in thread "main" java.lang.NoClassDefFoundError: com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
.
.
.
Caused by : java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
.
.
.

what mistake I make!
thank you !
pengft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20131014/ac2d8617/attachment-0002.htm>
Noah Watkins
2013-10-14 14:41:18 UTC
Permalink
Post by 鹏
com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
This looks like a bug, which I'll fixup today. But it shouldn't be
related to the problems you are seeing.
Post by 鹏
java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
This looks like you don't have the CephFS Java bindings in a place
that Hadoop can locate. Typically you can stick the libcephfs-jar file
into the lib directory of Hadoop, or add it to your classpath.
2013-10-14 03:28:02 UTC
Permalink
hi all:
I configure the ceph with hadoop system; when I run the commod
# hadoop fs -ls
It return the folliws :
Exception in thread "main" java.lang.NoClassDefFoundError: com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
.
.
.
Caused by : java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
.
.
.

what mistake I make!
thank you !
pengft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20131014/ac2d8617/attachment-0003.htm>
Noah Watkins
2013-10-14 14:41:18 UTC
Permalink
Post by 鹏
com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
This looks like a bug, which I'll fixup today. But it shouldn't be
related to the problems you are seeing.
Post by 鹏
java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
This looks like you don't have the CephFS Java bindings in a place
that Hadoop can locate. Typically you can stick the libcephfs-jar file
into the lib directory of Hadoop, or add it to your classpath.
2013-10-14 03:28:02 UTC
Permalink
hi all:
I configure the ceph with hadoop system; when I run the commod
# hadoop fs -ls
It return the folliws :
Exception in thread "main" java.lang.NoClassDefFoundError: com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
.
.
.
Caused by : java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
.
.
.

what mistake I make!
thank you !
pengft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20131014/ac2d8617/attachment-0004.htm>
Noah Watkins
2013-10-14 14:41:18 UTC
Permalink
Post by 鹏
com/ceph/fs/cephFileAlreadyExisteException
at java.lang.class.forName0(Native Method)
This looks like a bug, which I'll fixup today. But it shouldn't be
related to the problems you are seeing.
Post by 鹏
java.lang.classNotFoundException:com.ceph.fs.CephFileAlreadyExistsException
at java.net.URLClassLoader$1.run(URLClassLoader.jar:202)
at
This looks like you don't have the CephFS Java bindings in a place
that Hadoop can locate. Typically you can stick the libcephfs-jar file
into the lib directory of Hadoop, or add it to your classpath.

Loading...