Project

General

Profile

Actions

Bug #20852

closed

hadoop on cephfs would report "Invalid argument" when mount on a sub directory

Added by dongdong tao over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #2

Updated by Patrick Donnelly over 6 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF