Bug #20852
closedhadoop on cephfs would report "Invalid argument" when mount on a sub directory
0%
Description
we hava tested hadoop on cephfs and hbase on cephfs.
and we got following stack on hbase:
Failed to become active master java.io.IOException: Invalid argument at com.ceph.fs.CephMount.native_ceph_get_pool_id(Native Method) at com.ceph.fs.CephMount.get_pool_id(CephMount.java:1000) at org.apache.hadoop.fs.ceph.CephTalker.get_pool_id(CephTalker.java:321) at org.apache.hadoop.fs.ceph.CephFileSystem.getPoolReplication(CephFileSystem.java:308) at org.apache.hadoop.fs.ceph.CephFileSystem.selectDataPool(CephFileSystem.java:327) at org.apache.hadoop.fs.ceph.CephFileSystem.create(CephFileSystem.java:449) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:928) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:909) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:806) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:795) at
they are all because of a bug that java client tried a wrong way to get the default cephfs data pool.
I will pull a request soon.
Updated by dongdong tao over 6 years ago
Updated by Patrick Donnelly over 6 years ago
- Status changed from New to Resolved