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] Compiling 1 source file to /home/vu/java-rados/build/test
jar:
test:
[junit] Running ClusterStatsTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.068 sec
BUILD FAILED
/home/vu/java-rados/build.xml:134: Test ClusterStatsTest failed
Total time: 2 seconds
and in TEST-ClusterStatsTest.txt file also getting same errors,
Testsuite: ClusterStatsTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.068 sec
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)
at net.newdream.ceph.rados.Cluster.connect(Unknown Source)
at ClusterStatsTest.setup(Unknown Source)
-->How to give CEPH_ARGS.
Thanks,
Ramu.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html