Hi,
Sorry to reask, but I'm not reaching any further. I think i'm missing some really obvious permission configuration, as I was testing the hadoop command and it only works with one user (the one I use to install ceph).
This works ubuntu@cephmaster:~/ceph-cluster$ hadoop fs -put ceph.conf /
This work (file has 'ubuntu' as owner') ubuntu@cephmaster:~/ceph-cluster$ hadoop fs -ls / This doesn't work (using user 'ceph' to list files) ls: Permission denied
I think Hbase fails to start cause it's using it's own user and it seems only user "ubuntu" is allow to use ceph. Is there any easy way to fix this? Maybe disabling security? Sorry if the question looks silly, I'm really new to ceph and don't know exactly where to search about this.
Thanks in advance, De: Jose M <soloninguno@xxxxxxxxxxx>
Enviado: lunes, 28 de diciembre de 2015 09:45 a.m. Para: ceph-users@xxxxxxxxxxxxxx Asunto: Ceph & Hbase
Hi!
Does anyone succesfully configure hbase to use ceph? I'm having some problems with it, maybe anyone can help.
I have ceph already running and ceph-hadoop bindings installed ('hadoop fs -ls /' working). I'm trying Hbase in pseudo distributed mode, but when starting hbase-master I'm getting this error
2015-12-27 16:41:53,962 INFO [main] mob.MobFileCache: MobFileCache is initialized, and the cache size is 1000
This is my core-site.xml
<property> <name>fs.defaultFS</name> <value>ceph://cephmaster:6789/</value> </property> <property> <name>ceph.conf.file</name> <value>/etc/ceph/ceph.conf</value> </property> <property> <name>ceph.auth.id</name> <value>admin</value> </property> <property> <name>ceph.auth.keyring</name> <value>/home/developer/ceph-cluster/ceph.client.admin.keyring</value> </property> <property> <name>fs.ceph.impl</name> <value>org.apache.hadoop.fs.ceph.CephFileSystem</value> </property> <property> <name>fs.AbstractFileSystem.ceph.impl</name> <value>org.apache.hadoop.fs.ceph.CephHadoop2FileSystem</value> </property> <property> <name>ceph.data.pools</name> <value>hadoop1</value> </property> <property> <name>ceph.mon.address</name> <value>cephmaster:6789</value> </property> <property> <name>ceph.object.size</name> <value>67108864</value> </property> </configuration>
This is my hbase-site.xml
<configuration>
I already tried adding here fs.defaultFS, ceph.conf.file, ceph.auth.id, ceph.auth.keyfile, fs.ceph.impl and fs.AbstractFileSystem.ceph.impl in hbase-site.xml just in case (although i think they aren't needed here) but I got the same exception.
I suppose from the exception I have some permission error with ceph fs but I'm not sure. Hope you can help me finding the right direction to fix this:)
Thanks in advance, |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com