Re: CephTalker.java Compile Errors

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

 



Just realize that's putting you on the master branch now, not anything
stable! :)
-Greg

On Mon, Feb 11, 2013 at 11:09 AM, Scott Kinder <skinder@xxxxxxxxxxx> wrote:
> Yep, that appears to have fixed it. I had to use the devlopment testing
> branch, but after I switched to that, CephTalker.java compiled. The
> http://ceph.com/debian-testing/ branch libcephfs jar did not have the
> get_stripe_unit_granularity method, however the dev testing branch did. For
> the reference of others, here's the apt source I'm using now:
>
> #cat /etc/apt/sources.list.d/ceph.list
> deb http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-basic/ref/master
> precise main
>
> Thanks again for the help.
>
>
> On Mon, Feb 11, 2013 at 11:57 AM, Sam Lang <sam.lang@xxxxxxxxxxx> wrote:
>>
>> On Mon, Feb 11, 2013 at 12:38 PM, Scott Kinder <skinder@xxxxxxxxxxx>
>> wrote:
>> > Thanks for the fast response, guys. Here's my ceph source file:
>> >
>> > # cat /etc/apt/sources.list.d/ceph.list
>> > deb http://ceph.com/debian-bobtail/ precise main
>>
>> Ah, yeah that probably won't work with the java stuff.  If you want to
>> try master (or another more recent branch), you can update your apt
>> source:
>>
>> http://ceph.com/docs/master/install/debian/#development-release-packages
>> -sam
>>
>> >
>> >
>> > On Mon, Feb 11, 2013 at 11:36 AM, Sam Lang <sam.lang@xxxxxxxxxxx> wrote:
>> >>
>> >> On Mon, Feb 11, 2013 at 12:32 PM, Noah Watkins <jayhawk@xxxxxxxxxxx>
>> >> wrote:
>> >> > Hi Scott,
>> >> >
>> >> > It looks like the PPA might be lagging behind a bit. The latest Ceph
>> >> > master and the Hadoop branch you have checked out are working
>> >> > together.
>> >> >
>> >> > Could someone elaborate on what the correspondence is between the PPA
>> >> > versions and the various Git branches?
>> >>
>> >> The ppa's are pulled directly from the debs generated by the
>> >> gitbuilders.  There might be a little delay from git push to new deb,
>> >> but its not much.
>> >>
>> >> Scott, how did you setup the ceph sources.list?  Are you using the
>> >> master branch?
>> >> -sam
>> >>
>> >> >
>> >> > -Noah
>> >> >
>> >> > On Feb 11, 2013, at 10:28 AM, Scott Kinder <skinder@xxxxxxxxxxx>
>> >> > wrote:
>> >> >
>> >> >> I'm trying to compile from branch ceph/hadoop-common/branch-1.0/, so
>> >> >> I
>> >> >> can do some testing with hadoop utilizing ceph. I have
>> >> >> libcephfs-java
>> >> >> installed from the main ceph PPA, and it is version 0.56.2. When
>> >> >> CephTalker.java tries to compile, I get the following error:
>> >> >>
>> >> >> CephTalker.java:219: cannot find symbol
>> >> >> symbol  : method get_stripe_unit_granularity()
>> >> >> location: class com.ceph.fs.CephMount
>> >> >>     return mount.get_stripe_unit_granularity();
>> >> >>                 ^
>> >> >> Note: CephFileSystem.java uses or overrides a deprecated API.
>> >> >> Note: Recompile with -Xlint:deprecation for details.
>> >> >> 1 error
>> >> >>
>> >> >> I checked libcephfs-0.56.2.jar, and I do not see this method:
>> >> >>
>> >> >> # javap -classpath /usr/share/java/libcephfs-0.56.2.jar
>> >> >> com.ceph.fs.CephMount |grep get
>> >> >>     public java.lang.String conf_get(java.lang.String);
>> >> >>     public java.lang.String getcwd();
>> >> >>     public long getxattr(java.lang.String, java.lang.String, byte[])
>> >> >> throws java.io.FileNotFoundException;
>> >> >>     public long lgetxattr(java.lang.String, java.lang.String,
>> >> >> byte[])
>> >> >> throws java.io.FileNotFoundException;
>> >> >>     public int get_file_stripe_unit(int);
>> >> >>     public int get_file_replication(int);
>> >> >>
>> >> >> Does anyone know how I might work around this problem? Do I need to
>> >> >> use
>> >> >> a different library or something? Am I doing something wrong?
>> >> >> _______________________________________________
>> >> >> 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
>> >
>> >
>
>
>
> _______________________________________________
> 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