Loading ...
Sorry, an error occurred while loading the content.
 

Step 2. Choose the appropriate DB interface layer

Expand Messages
  • weijinxianforyou@gmail.com
    hi£¬ I ve met several problems while using your tools to test Cassandra6.4. Environment:ubuntu 9.10 on virtualbox JDK 1.6.21 I just deployed Cassandra on a
    Message 1 of 2 , Aug 19, 2010
      hi,
        I've met several problems while using your tools to test Cassandra6.4.
       Environment:ubuntu 9.10 on virtualbox
                   JDK 1.6.21
       I just deployed Cassandra on a single node and followed the steps you listed on wiki.
       step2,as you mentioned"You can run commands directly against the database using the included simple command line client".so I just run the command below: java -cp build/ycsb.jar;db/cassandra-0.6/lib/*.jar  com.yahoo.ycsb.CommandLine -p hosts=127.0.0.1 -db com.yahoo.ycsb.db.CassandraClient6
      I got many errors, one is couldn't load mainclass from thrift.jar. after Modifying the menifest.mf file I met other errors.
      could you pls help me?I'm newer to cloud computing including cassandra.

      Before step2,I have installed Cassandra on ubuntu,and have build ycsb and cassandra0.6 successfully.

      I'm looking forward to a quick start of using YCSB.

      thank you very much.

                                                                 Rhein
    • Brian Cooper
      I suggest using a colon (:) instead of a semicolon (;) when specifying the classpath in the command, e.g. -cp build/ycsb.jar:db/cassndra-0.6/lib... On unix
      Message 2 of 2 , Aug 19, 2010
        I suggest using a colon (:) instead of a semicolon (;) when specifying the classpath in the command, e.g. -cp build/ycsb.jar:db/cassndra-0.6/lib... On unix shells, semicolon is a command separator, not a path separator.

        Also, I'm not sure you can say "*.jar" in the -cp; the * gets expanded by the shell into a list of files, but they won't be separated by colons. I think instead you need to add each relevant jar explicitly to the classpath.

        If that doesn't help, can you please cut and paste the actual output? Seems like a classpath issue but the actual error messages would be helpful.

        Also, can you cut and paste the output of "ls -l" in the lib dir, e.g. "ls -l db/cassandra-0.6/lib/*.jar"

        Thanks!

        Brian


        From: "weijinxianforyou@..." <weijinxianforyou@...>
        To: ycsb-users@yahoogroups.com
        Sent: Thu, August 19, 2010 8:44:50 AM
        Subject: [ycsb-users] Step 2. Choose the appropriate DB interface layer

         

        hi,
          I've met several problems while using your tools to test Cassandra6.4.
         Environment:ubuntu 9.10 on virtualbox
                     JDK 1.6.21
         I just deployed Cassandra on a single node and followed the steps you listed on wiki.
         step2,as you mentioned"You can run commands directly against the database using the included simple command line client".so I just run the command below: java -cp build/ycsb.jar;db/cassandra-0.6/lib/*.jar  com.yahoo.ycsb.CommandLine -p hosts=127.0.0.1 -db com.yahoo.ycsb.db.CassandraClient6
        I got many errors, one is couldn't load mainclass from thrift.jar. after Modifying the menifest.mf file I met other errors.
        could you pls help me?I'm newer to cloud computing including cassandra.

        Before step2,I have installed Cassandra on ubuntu,and have build ycsb and cassandra0.6 successfully.

        I'm looking forward to a quick start of using YCSB.

        thank you very much.

                                                                   Rhein


      Your message has been successfully submitted and would be delivered to recipients shortly.