Re: Java librados issue

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

 



> Op 26 december 2016 om 19:24 schreef Bogdan SOLGA <bogdan.solga@xxxxxxxxx>:
> 
> 
> Hello, everyone!
> 
> I'm trying to integrate the Java port of librados
> <https://github.com/ceph/rados-java> into our app, using this
> <http://docs.ceph.com/docs/hammer/rados/api/librados-intro/#java-example>
> sample as a reference. As our cluster is not named 'ceph', I've tried to
> initialize the cluster using a different constructor, which takes the
> cluster name as a parameter.
> 
> The issue - there's a segfault while loading the config file, which I can't
> circumvent. I presume it's caused by a mismatch between the JNA version and
> the librados version, but I can't pinpoint it.
> 

I haven't tested that, but you do not need to specificy the cluster name perse. That's just the config file it looks for.

Could you just use the default constructor and then tell it to read a different config file?

Wido

> I've attached a thread dump, in case anyone is willing to take a look.
> 
> Thank you, in advance!
> 
> My best,
> Bogdan
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux