Re: How to compile Java-Rados.

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

 



Ramu,

Eek, I guess I missed that one. I pushed this patch which should fix
it for you. Please 'git pull' to update your tree.

Thanks,
- Noah

diff --git a/src/java/net/newdream/ceph/rados/RadosObject.java
b/src/java/net/newdream/ceph/rados/RadosObject.java
index 851d2aa..6079f6c 100644
--- a/src/java/net/newdream/ceph/rados/RadosObject.java
+++ b/src/java/net/newdream/ceph/rados/RadosObject.java
@@ -54,10 +54,9 @@ public class RadosObject {
      *
      * @param buf the data buffer
      * @param len the amount of data to write
-     * @param off the offset in the object at which to start writing
      */
-    public void writeFull(byte[] buf, long len, long off) throws
RadosException {
-        ioctx.writeFull(key, buf, len, off);
+    public void writeFull(byte[] buf, long len) throws RadosException {
+        ioctx.writeFull(key, buf, len);
     }

     /**


On Thu, Jul 12, 2012 at 2:22 AM, ramu <ramu.freesystems@xxxxxxxxx> wrote:
>
> Hi Noah Watkins,
>
> When I compiling Java-rados am getting following error,
>
> compile-rados:
>     [javac] Compiling 8 source files to /home/vu/java-rados/build/java
>     [javac] /home/vu/java-rados/src/java/net/newdream/ce
> ph/rados/RadosObject.java:60: cannot find symbol
>     [javac] symbol  : method writeFull(java.lang.String,byte[],long,long)
>     [javac] location: class net.newdream.ceph.rados.IOContext
>     [javac]         ioctx.writeFull(key, buf, len, off);
>     [javac]              ^
>     [javac] 1 error
>
>
>
>
>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux