CephTalker.java Compile Errors

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

 



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

[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