{"action":"created","issue":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/519","labels_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/519/comments","events_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/519/events","html_url":"https://github.com/brianfrankcooper/YCSB/issues/519","id":119722253,"number":519,"title":"understand the meaning of the output after loading and running workload? nothing saved in workloada_load_res.txt and workloada_run_res.txt","user":{"login":"pushpendrachaturvedi","id":9261033,"avatar_url":"https://avatars.githubusercontent.com/u/9261033?v=3","gravatar_id":"","url":"https://api.github.com/users/pushpendrachaturvedi","html_url":"https://github.com/pushpendrachaturvedi","followers_url":"https://api.github.com/users/pushpendrachaturvedi/followers","following_url":"https://api.github.com/users/pushpendrachaturvedi/following{/other_user}","gists_url":"https://api.github.com/users/pushpendrachaturvedi/gists{/gist_id}","starred_url":"https://api.github.com/users/pushpendrachaturvedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushpendrachaturvedi/subscriptions","organizations_url":"https://api.github.com/users/pushpendrachaturvedi/orgs","repos_url":"https://api.github.com/users/pushpendrachaturvedi/repos","events_url":"https://api.github.com/users/pushpendrachaturvedi/events{/privacy}","received_events_url":"https://api.github.com/users/pushpendrachaturvedi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-01T13:56:49Z","updated_at":"2015-12-02T15:03:35Z","closed_at":null,"body":"i am getting following output when running load and run commands\r\ni am unable to understand the meaning of this output and hence unable to resolve the issue\r\nPlease help\r\nNothing saved in workloada_load_res.txt and workloada_run_res.txt, so i believe load is not running, but do not know why\r\n\r\noutput when loading\r\n\r\nloadm@loadm:~/ycsb-0.4.0$ ./bin/ycsb load cassandra-10 -p port=9042 hosts=\"192.168.122.181\" -P workloads/workloada -s > workloada_load_res.txt\r\njava -cp /home/loadm/ycsb-0.4.0/cassandra-binding/conf:/home/loadm/ycsb-0.4.0/conf:/home/loadm/ycsb-0.4.0/lib/core-0.4.0.jar:/home/loadm/ycsb-0.4.0/lib/HdrHistogram-2.1.4.jar:/home/loadm/ycsb-0.4.0/lib/jackson-mapper-asl-1.9.4.jar:/home/loadm/ycsb-0.4.0/lib/jackson-core-asl-1.9.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-binding-0.4.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/servlet-api-2.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jackson-core-asl-1.9.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snaptree-0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jamm-0.2.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jackson-mapper-asl-1.9.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/httpcore-4.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jetty-6.1.22.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-codec-1.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/stringtemplate-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-thrift-1.2.9.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-logging-1.1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/servlet-api-2.5-20081211.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jetty-util-6.1.22.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jbcrypt-0.3m.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/concurrentlinkedhashmap-lru-1.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/guava-13.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/log4j-1.2.16.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/slf4j-api-1.6.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snappy-java-1.0.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/json-simple-1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/compress-lzf-0.8.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/high-scale-lib-1.1.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/slf4j-log4j12-1.7.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/libthrift-0.7.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-cli-1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/metrics-core-2.0.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-2.7.7.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snakeyaml-1.6.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/avro-1.4.0-cassandra-1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/httpclient-4.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-runtime-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jline-1.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/lz4-1.1.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-driver-core-1.0.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-all-1.2.9.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-lang-2.6.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/netty-3.5.9.Final.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.CassandraClient10 -p port=9042 hosts=192.168.122.181 -P workloads/workloada -s -load\r\n\r\n\r\noutput when running\r\n\r\n\r\nloadm@loadm:~/ycsb-0.4.0$ ./bin/ycsb run cassandra-10 -p port=9042 hosts=\"192.168.122.181\" -P workloads/workloada -s > workloada_load_res.txt\r\njava -cp /home/loadm/ycsb-0.4.0/cassandra-binding/conf:/home/loadm/ycsb-0.4.0/conf:/home/loadm/ycsb-0.4.0/lib/core-0.4.0.jar:/home/loadm/ycsb-0.4.0/lib/HdrHistogram-2.1.4.jar:/home/loadm/ycsb-0.4.0/lib/jackson-mapper-asl-1.9.4.jar:/home/loadm/ycsb-0.4.0/lib/jackson-core-asl-1.9.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-binding-0.4.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/servlet-api-2.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jackson-core-asl-1.9.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snaptree-0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jamm-0.2.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jackson-mapper-asl-1.9.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/httpcore-4.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jetty-6.1.22.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-codec-1.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/stringtemplate-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-thrift-1.2.9.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-logging-1.1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/servlet-api-2.5-20081211.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jetty-util-6.1.22.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jbcrypt-0.3m.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/concurrentlinkedhashmap-lru-1.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/guava-13.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/log4j-1.2.16.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/slf4j-api-1.6.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snappy-java-1.0.5.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/json-simple-1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/compress-lzf-0.8.4.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/high-scale-lib-1.1.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/slf4j-log4j12-1.7.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/libthrift-0.7.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-cli-1.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/metrics-core-2.0.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-2.7.7.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/snakeyaml-1.6.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/avro-1.4.0-cassandra-1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/httpclient-4.0.1.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-runtime-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/antlr-3.2.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/jline-1.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/lz4-1.1.0.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-driver-core-1.0.3.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/cassandra-all-1.2.9.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/commons-lang-2.6.jar:/home/loadm/ycsb-0.4.0/cassandra-binding/lib/netty-3.5.9.Final.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.CassandraClient10 -p port=9042 hosts=192.168.122.181 -P workloads/workloada -s -t\r\nloadm@loadm:~/ycsb-0.4.0$ \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/comments/161325448","html_url":"https://github.com/brianfrankcooper/YCSB/issues/519#issuecomment-161325448","issue_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/519","id":161325448,"user":{"login":"kruthar","id":169104,"avatar_url":"https://avatars.githubusercontent.com/u/169104?v=3","gravatar_id":"","url":"https://api.github.com/users/kruthar","html_url":"https://github.com/kruthar","followers_url":"https://api.github.com/users/kruthar/followers","following_url":"https://api.github.com/users/kruthar/following{/other_user}","gists_url":"https://api.github.com/users/kruthar/gists{/gist_id}","starred_url":"https://api.github.com/users/kruthar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kruthar/subscriptions","organizations_url":"https://api.github.com/users/kruthar/orgs","repos_url":"https://api.github.com/users/kruthar/repos","events_url":"https://api.github.com/users/kruthar/events{/privacy}","received_events_url":"https://api.github.com/users/kruthar/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T15:03:35Z","updated_at":"2015-12-02T15:03:35Z","body":"I have Cassandra 2.2 installed for testing. From your earlier posts it looks like you have Cassandra 2.1, is that correct?\r\n\r\nI was able to reproduce your errors, but not able to find the root cause. A little bit of research about it said that with more modern versions of Cassandra you should be using CQL clients instead of Thrift clients. This means using ```cassandra-cql``` for Cassandra 2.0 and ```cassandra2-cql``` for Cassandra 2.1+.\r\n\r\nCan you try using the ```cassandra2-cql``` module instead? Keep in mind the keyspace setup is different for cassandra2: https://github.com/brianfrankcooper/YCSB/tree/master/cassandra2.\r\n\r\n```\r\nbin/ycsb load cassandra2-cql -p hosts=\"192.168.122.181\" -P workloads/workloada -s\r\nbin/ycsb run cassandra2-cql -p hosts=\"192.168.122.181\" -P workloads/workloada -s\r\n```"}}