Skip to content

Workload D through null pointer exception #263

@pratap5469

Description

@pratap5469

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions