From patchwork Thu Jul 12 15:17:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noah Watkins X-Patchwork-Id: 1189521 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 0E84F3FDAE for ; Thu, 12 Jul 2012 15:17:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933996Ab2GLPRg (ORCPT ); Thu, 12 Jul 2012 11:17:36 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:56601 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934038Ab2GLPRf (ORCPT ); Thu, 12 Jul 2012 11:17:35 -0400 Received: by ghrr11 with SMTP id r11so2512574ghr.19 for ; Thu, 12 Jul 2012 08:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=NVn/E4DvL6Hknq505wWkuvDDgICeiBzsM3d8GhXb4OQ=; b=AXz+7QUPVHvlDd0/F4YyluWCl7jRHlt8DP2DwRO63mf87c/b72FB6k61jSCv57UHz/ +oHVdOnbDGM0Kty/g48cbhJBNyDJWOeHX9tUx9wJn2iU0l3xQCvVPQvIhwtdbwcFkJtc KXJ/guYWYcCuTHGXqMgaYWgoToWBewkx54FdY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=NVn/E4DvL6Hknq505wWkuvDDgICeiBzsM3d8GhXb4OQ=; b=nS7YzqhLqwQIQgYa/Q8FH3vRiOJ57sm1n2vopK/6SJpOwfVkDpA0tTNmOjk+q1zxoR yJHlAjqkUC2jwx/TYlbnZJ1IxD3k4/0BMWakrYlwIobIE+Z2G8/ENi1XqSTcuZY7lJii MI3BRgiJGptaBMFRSVybpt0TPt/Dp7fV3Fma5TiLbm4IgTYZpPvK4S9fgy7ZfvC+Jn/m EzgUvY+O2bE1gPz4lbFDP+T3xre51OPYmJuf9OtJLlr0qAfMoO43dHd8YlIgRK3N2nER f+e5zWN//FLhMym0N+K3ETXzCA5Qk/uZY553eibdn+3FAZoY3DIAd0CLVOBhhvPdWnNO OoNg== MIME-Version: 1.0 Received: by 10.50.91.233 with SMTP id ch9mr17620732igb.8.1342106254940; Thu, 12 Jul 2012 08:17:34 -0700 (PDT) Received: by 10.64.64.161 with HTTP; Thu, 12 Jul 2012 08:17:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 08:17:34 -0700 X-Google-Sender-Auth: nxVoNEjFqIeUpgHmbDm5TXrASRY Message-ID: Subject: Re: How to compile Java-Rados. From: Noah Watkins To: ramu Cc: ceph-devel@vger.kernel.org X-Gm-Message-State: ALoCoQl91Ik69FzdWRNM6V7nyLkjDcsqQoogH065ofBtQ1hhrYAGrJyO2UZwZVHSkx/dY0XhbQYW Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org 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 /** On Thu, Jul 12, 2012 at 2:22 AM, ramu 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@vger.kernel.org > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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); }