-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workload D through null pointer exception #263
Comments
Hi! I don't see the class "CassandraCQLClient" in the source tree. Are you using a customized fork downloaded from somewhere? Or perhaps one of the open pull requests? |
Hello Busbey , |
My goal is to eventually merge all the forks. That's considerably easier when folks put up PRs that work with current master, which is a bit of a moving target right now. :) |
@pratap5469 please try to make use of the patch on #270, since that is the version of CassandraCQLClient that is likely going to live in the repo short term. |
Still trying to do this? the current release candidate should work with Cassandra 2.0. |
Thanks fir the info .But I left the Cassandra project now working on Hadoop related project .i will use next time when I work in a Cassandra Related Project .
|
I do experience the same problem. Looks like CassandraCQL driver cannot initialize cluster object.
|
|
I found the reason for this exception. I was using new C* libraries, which gives this error. Using an older version eliminated this problem.
Buggy one:
|
ah, so this is #293 then. thanks for chasing it down! this should help us update things to work with Cassandra 2.1. |
To Load the data i am using below script fro workloadd and it working fine -
./bin/ycsb load cassandra-cql -s -threads 10 -p "hosts=IP1 IP2 IP3" -P workloads/workloadd >>/Output/workloadd.txt.
To run the opration i am using below script fro workloadd and it working fine -
./bin/ycsb run cassandra-cql -s -threads 10 -p "hosts=IP1 IP2 IP3" -P workloads/workloadd >>/Output/workloadd.txt.
During the run the test for workload D i am experiencing below error-
Starting test.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/xyz/New_YCSB/YCSB/cassandra/target/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/xyz/New_YCSB/YCSB/cassandra/target/cassandra-binding-0.1.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:WARN No appenders could be found for logger (com.datastax.driver.core.Cluster).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:WARN Please initialize the log4j system properly.
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
java.lang.NullPointerException
at com.yahoo.ycsb.db.CassandraCQLClient.read(CassandraCQLClient.java:285)
at com.yahoo.ycsb.db.CassandraCQLClient.readAll(CassandraCQLClient.java:255)
at com.yahoo.ycsb.DBWrapper$1.go(DBWrapper.java:124)
at com.yahoo.ycsb.DBWrapper.operation(DBWrapper.java:283)
at com.yahoo.ycsb.DBWrapper.readAll(DBWrapper.java:111)
at com.yahoo.ycsb.workloads.CoreWorkload.doTransactionRead(CoreWorkload.java:535)
at com.yahoo.ycsb.workloads.CoreWorkload.doTransaction(CoreWorkload.java:482)
at com.yahoo.ycsb.ClientThread$1.doOperation(Client.java:349)
at com.yahoo.ycsb.ClientThread.run(Client.java:405)
at com.yahoo.ycsb.ClientThread.run(Client.java:346)
could any one please help me resolve this issue. if any one has experienced the same issue please share the solution.
The text was updated successfully, but these errors were encountered: