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 <[email protected]> wrote: > > 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-rados/build.xml:134: Test ClusterStatsTest failed > > Total time: 1 second > > and one more error file > is /home/vu/java-rados/TEST-ClusterStatsTest.txt in that file the text is like > this, > > 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.RadosException: conf_read_file: ret=-22 > at net.newdream.ceph.rados.Cluster.native_conf_read_file(Native > Method) > at net.newdream.ceph.rados.Cluster.readConfigFile(Unknown Source) > at ClusterStatsTest.setup(Unknown Source) > > 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 -- 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
