{"action":"created","issue":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/184","labels_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/184/comments","events_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/184/events","html_url":"https://github.com/brianfrankcooper/YCSB/issues/184","id":37550595,"number":184,"title":"error when using workloade for mongodb test","user":{"login":"ylouis83","id":1445708,"avatar_url":"https://avatars.githubusercontent.com/u/1445708?v=3","gravatar_id":"","url":"https://api.github.com/users/ylouis83","html_url":"https://github.com/ylouis83","followers_url":"https://api.github.com/users/ylouis83/followers","following_url":"https://api.github.com/users/ylouis83/following{/other_user}","gists_url":"https://api.github.com/users/ylouis83/gists{/gist_id}","starred_url":"https://api.github.com/users/ylouis83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylouis83/subscriptions","organizations_url":"https://api.github.com/users/ylouis83/orgs","repos_url":"https://api.github.com/users/ylouis83/repos","events_url":"https://api.github.com/users/ylouis83/events{/privacy}","received_events_url":"https://api.github.com/users/ylouis83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-07-10T10:36:40Z","updated_at":"2015-02-02T05:36:54Z","closed_at":null,"body":"when I use workloade mode for scan range query:\r\n\r\n[root@mysqlstd ycsb-0.1.4]#  ./bin/ycsb run  mongodb -P workloads/workloade  -P large.dat -p mongodb.url=mongodb://127.0.0.1:27017 -p mongodb.database=newdb2 -p mongodb.writeConcern=normal  -s  >data\r\nLoading workload...\r\nStarting test.\r\n 0 sec: 0 operations; \r\njava.lang.ClassCastException: [B cannot be cast to java.lang.String\r\njava.lang.ClassCastException: [B cannot be cast to java.lang.String\r\njava.lang.ClassCastException: [B cannot be cast to java.lang.String\r\njava.lang.ClassCastException: [B cannot be cast to java.lang.String\r\njava.lang.ClassCastException: [B cannot be cast to java.lang.String\r\n\r\n\r\n\r\nbut workloadc is right:\r\n\r\n[root@mysqlstd ycsb-0.1.4]#  ./bin/ycsb run  mongodb -P workloads/workloadc  -P large.dat -p mongodb.url=mongodb://127.0.0.1:27017 -p mongodb.database=newdb2 -p mongodb.writeConcern=normal  -s  >data\r\nLoading workload...\r\nStarting test.\r\n 0 sec: 0 operations; \r\n 10 sec: 43764 operations; 4358.1 current ops/sec; [READ AverageLatency(us)=217.29] \r\n 20 sec: 98842 operations; 5506.15 current ops/sec; [READ AverageLatency(us)=178.14] \r\n 20 sec: 100000 operations; 4559.06 current ops/sec; [READ AverageLatency(us)=215.32] "},"comment":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/comments/72408583","html_url":"https://github.com/brianfrankcooper/YCSB/issues/184#issuecomment-72408583","issue_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/184","id":72408583,"user":{"login":"benjaminbrent","id":1594962,"avatar_url":"https://avatars.githubusercontent.com/u/1594962?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminbrent","html_url":"https://github.com/benjaminbrent","followers_url":"https://api.github.com/users/benjaminbrent/followers","following_url":"https://api.github.com/users/benjaminbrent/following{/other_user}","gists_url":"https://api.github.com/users/benjaminbrent/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminbrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminbrent/subscriptions","organizations_url":"https://api.github.com/users/benjaminbrent/orgs","repos_url":"https://api.github.com/users/benjaminbrent/repos","events_url":"https://api.github.com/users/benjaminbrent/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminbrent/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T05:36:54Z","updated_at":"2015-02-02T05:36:54Z","body":"I think this bug is fixed in 87c8e1f05fd472df53f23348938a5af32ddea77e. You could try running the workload again after making that change. Let me know the outcome if you do this."}}