Re: Hadoop and Ceph integration issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Noah,
updated the core-site.xml (bellow).
All the nodes have the same files. But the problem remains the same.

What is the value for "ceph.auth.keyring"? Is the path containing the
file "ceph.mon.keyring"?


Thanks,
Rolando

P.S.: I have the cephFS mounted locally, so the cluster is ok.

cluster d9ca74d0-d9f4-436d-92de-762af67c6534
   health HEALTH_OK
   monmap e1: 9 mons at
{hyrax1=10.10.10.10:6789/0,hyrax2=10.10.10.12:6789/0,hyrax3=10.10.10.15:6789/0,hyrax4=10.10.10.13:6789/0,hyrax5=10.10.10.16:6789/0,hyrax6=10.10.10.14:6789/0,hyrax7=10.10.10.18:6789/0,hyrax8=10.10.10.17:6789/0,hyrax9=10.10.10.11:6789/0},
election epoch 6, quorum 0,1,2,3,4,5,6,7,8
hyrax1,hyrax2,hyrax3,hyrax4,hyrax5,hyrax6,hyrax7,hyrax8,hyrax9
   osdmap e30: 9 osds: 9 up, 9 in
    pgmap v2457: 192 pgs: 192 active+clean; 10408 bytes data, 44312 MB
used, 168 GB / 221 GB avail
   mdsmap e4: 1/1/1 up {0=hyrax1=up:active}


<property>
<name>fs.ceph.impl</name>
<value>org.apache.hadoop.fs.ceph.CephFileSystem</value>
</property>

<property>
<name>fs.default.name</name>
<value>ceph://hyrax1:6789/</value>
</property>

<property>
<name>ceph.conf.file</name>
<value>/hyrax/hadoop-ceph/ceph/ceph.conf</value>
</property>

<property>
<name>ceph.root.dir</name>
<value>/</value>
</property>

<property>
<name>ceph.auth.keyfile</name>
<value>/hyrax/hadoop-ceph/ceph/admin.secret</value>
</property>

<property>
<name>ceph.auth.keyring</name>
<value>/hyrax/hadoop-ceph/ceph/ceph.mon.keyring</value>
</property>

On Mon, Sep 23, 2013 at 11:42 AM, Noah Watkins <noah.watkins@xxxxxxxxxxx> wrote:
>> <property>
>>         <name>ceph.root.dir</name>
>>         <value>/mnt/mycephfs</value>
>> </property>
>
> This is probably causing the issue. Is this meant to be a local mount
> point? The 'ceph.root.dir' property specifies the root directory
> /inside/ CephFS, and the Hadoop implementation doesn't require a local
> CephFS mount--it uses a client library to interact with the file
> system.
>
> The default value for this property is "/", so you can probably just
> remove this from your config file unless your CephFS directory
> structure is carved up in a special way.
>
>> <property>
>>         <name>ceph.conf.file</name>
>>         <value>/hyrax/hadoop-ceph/ceph/ceph.conf</value>
>> </property>
>> <property>
>>         <name>ceph.auth.keyfile</name>
>>         <value>/hyrax/hadoop-ceph/ceph/admin.secret</value>
>> </property>
>>
>> <property>
>>         <name>ceph.auth.keyring</name>
>>         <value>/hyrax/hadoop-ceph/ceph/ceph.mon.keyring</value>
>> </property>
>
> These files will need to be available locally on every node Hadoop
> runs on. I think the error below will occur after these are loaded, so
> it probably isn't your issue, though I don't recall exactly at which
> point different configuration files are loaded.
>
>> <property>
>>         <name>fs.hdfs.impl</name>
>>         <value>org.apache.hadoop.fs.ceph.CephFileSystem</value>
>> </property>
>
> I don't think this is part of the problem you are seeing, but this
> 'fs.hdfs.impl' property should probably be removed. We aren't
> overriding HDFS, just replacing it.
>
>> <property>
>>         <name>ceph.mon.address</name>
>>         <value>hyrax1:6789</value>
>> </property>
>
> This was already specified in your 'fs.default.name' property. I don't
> think that duplicating it is an issue, but I should probably update
> the documentation to make it clear that the monitor only needs to be
> listed once.
>
> Thanks!
> Noah
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux