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 config file (not CEPH_CONFG_FILE). Alternatively, you can stick config options in the same format as the command line arguments in CEPH_ARGS. E.g., CEPH_ARGS="--debug-ms 1 --log-file foo" some_command ... sage > > Thanks, > - Noah > > On Sun, Jul 15, 2012 at 10:32 PM, ramu <ramu.freesyst...@gmail.com> 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 majord...@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 majord...@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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html