Re: How to compile Java-Rados.

2012-07-19 Thread ramu
Hi Noah, Thank you for fixes and suggestions of compilation of java-rados , It's working fine now. Thanks, Ramu. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: How to compile Java-Rados.

2012-07-18 Thread ramu
Hi Noah, Thank u for your reply,it is working fine but Iam getting one more error in terminal is,BUILD FAILED /home/vu/java-rados/build.xml:134: Test IOContextTest failed Total time: 43 seconds and in TEST-IOContextTest.txt file the error is, Testsuite: IOContextTest Tests run: 11, Failures: 1,

Re: How to compile Java-Rados.

2012-07-18 Thread Noah Watkins
Please 'git pull' to grab the following change which solved the same problem in my location tree: diff --git a/src/test/ClusterTest.java b/src/test/ClusterTest.java index 9b6bcb6..8b83bdd 100644 --- a/src/test/ClusterTest.java +++ b/src/test/ClusterTest.java @@ -25,13 +25,13 @@ public class Cluste

Re: How to compile Java-Rados.

2012-07-17 Thread ramu
Hi Noah, After reinstalled java-rados,when I run ant test now am getting follwing error in terminal, Buildfile: /home/vutp/java-rados/build.xml makedir: compile-rados: compile-tests: [javac] Compiling 1 source file to /home/vutp/java-rados/build/test jar: test: [junit] Running Cluste

Re: How to compile Java-Rados.

2012-07-17 Thread Noah Watkins
On Mon, Jul 16, 2012 at 10:39 PM, ramu wrote: > Hi Noah, > > Testcase: test_ClusterStats took 0.036 sec > Caused an ERROR > rados_connect: ret=-1 > net.newdream.ceph.rados.RadosException: rados_connect: ret=-1 > at net.newdream.ceph.rados.Cluster.native_connect(Native Method) >

Re: How to compile Java-Rados.

2012-07-16 Thread ramu
Hi Noah, I hardcoded CONF_FIL="/etc/ceph/ceph.conf"; and commented //System.getProperty("CEPH_CONF_FILE"); in RadosTestUtils.java. And run the ant and after run ant test,but iam getting same error. Buildfile: /home/vu/java-rados/build.xml makedir: compile-rados: compile-tests: [javac] Com

Re: How to compile Java-Rados.

2012-07-16 Thread Noah Watkins
Disregard that last message. Ok, I'm not sure where else EINVAL gets returned in the configuration path, but I can look into it this evening. I tested the wrappers on a clean install last night and they seem to be working for me. Can you turn on debug logging with CEPH_ARGS (as per Sage's last emai

Re: How to compile Java-Rados.

2012-07-16 Thread Noah Watkins
On Mon, Jul 16, 2012 at 8:26 AM, Sage Weil wrote: > On Mon, 16 Jul 2012, Noah Watkins wrote: >> Ramu, >> >> I receive the same error code in my installation when the >> CEPH_CONF_FILE environment variable contains an invalid path. Could >> you please verify that the path you are using points to a

Re: How to compile Java-Rados.

2012-07-16 Thread Sage Weil
On Mon, 16 Jul 2012, Noah Watkins wrote: > Ramu, > > I receive the same error code in my installation when the > CEPH_CONF_FILE environment variable contains an invalid path. Could > you please verify that the path you are using points to a valid Ceph > configuration? BTW it's CEPH_CONF for the c

Re: How to compile Java-Rados.

2012-07-16 Thread ramu
Hi Noah, I printed the CONF_FILE and file and states,the printed as following,these are in ClusterStatsTest.java. test: [junit] Running ClusterStatsTest [junit] conffile--->/etc/ceph/ceph.conf [junit] state-->CONFIGURING [junit] file--->/etc/ceph/ceph.conf [junit] state-->CON

Re: How to compile Java-Rados.

2012-07-16 Thread Noah Watkins
Ramu, I receive the same error code in my installation when the CEPH_CONF_FILE environment variable contains an invalid path. Could you please verify that the path you are using points to a valid Ceph configuration? Thanks, - Noah On Sun, Jul 15, 2012 at 10:32 PM, ramu wrote: > > Hi Noah, > > I

Re: How to compile Java-Rados.

2012-07-15 Thread ramu
Hi Noah, I tried but am getting following error in terminal , Buildfile: /home/vu/java-rados/build.xml makedir: compile-rados: compile-tests: jar: test: [junit] Running ClusterStatsTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.04 sec BUILD FAILED /home/vu/java-

Re: How to compile Java-Rados.

2012-07-15 Thread Noah Watkins
Ramu, Well, it looks like copying the library files worked. Did you export CEPH_CONF_FILE=/path/to/ceph.conf before running 'ant test' ? - Noah On Jul 15, 2012, at 9:17 PM, ramu wrote: > Hi Noah, > > I copied all /src/native/.libs/ to dist folder and tried ant test iam getting > this err

Re: How to compile Java-Rados.

2012-07-15 Thread ramu
Hi Noah, I copied all /src/native/.libs/ to dist folder and tried ant test iam getting this error, Testsuite: ClusterStatsTest Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.04 sec Testcase: test_ClusterStats took 0.022 sec Caused an ERROR conf_read_file: ret=-22 net.newdream.ceph.rados.

Re: How to compile Java-Rados.

2012-07-13 Thread Noah Watkins
Hi Ramu, The "libtool --mode=install" hack has apparently stopped working. You can get around this problem for the time being by copying the library files you want from src/native/.libs/ into the dist folder. - Noah On Fri, Jul 13, 2012 at 12:00 AM, ramu wrote: > Hi Noah, > > When Iam running a

Re: How to compile Java-Rados.

2012-07-13 Thread ramu
Hi Noah, When Iam running ant command Build successful,but in dist folder only librados.jar is came ,there is no libjavarados.a. After i run the ant test ,it is showing error is, makedir: compile-rados: compile-tests: jar: test: [junit] Running ClusterStatsTest [junit] Tests run: 1, Failures

Re: How to compile Java-Rados.

2012-07-12 Thread Noah Watkins
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/

How to compile Java-Rados.

2012-07-12 Thread ramu
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 wr

Re: How to compile Java-Rados.

2012-07-11 Thread Noah Watkins
old, but there isn't any reason they shouldn't still function correctly. - Noah On Wed, Jul 11, 2012 at 9:53 PM, ramu wrote: > Hi, > > I want to compile java-rados against ceph-0.47.Please help me how to compile > java-rados. > > Thanks, > Ramu. > > -- >

How to compile Java-Rados.

2012-07-11 Thread ramu
Hi, I want to compile java-rados against ceph-0.47.Please help me how to compile java-rados. Thanks, Ramu. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org