{"action":"created","issue":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/541","labels_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/541/comments","events_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/541/events","html_url":"https://github.com/brianfrankcooper/YCSB/issues/541","id":123158539,"number":541,"title":"CancelledKeyException with YCSB Memcached binding. Both for load and run","user":{"login":"subrata4096","id":467854,"avatar_url":"https://avatars.githubusercontent.com/u/467854?v=3","gravatar_id":"","url":"https://api.github.com/users/subrata4096","html_url":"https://github.com/subrata4096","followers_url":"https://api.github.com/users/subrata4096/followers","following_url":"https://api.github.com/users/subrata4096/following{/other_user}","gists_url":"https://api.github.com/users/subrata4096/gists{/gist_id}","starred_url":"https://api.github.com/users/subrata4096/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subrata4096/subscriptions","organizations_url":"https://api.github.com/users/subrata4096/orgs","repos_url":"https://api.github.com/users/subrata4096/repos","events_url":"https://api.github.com/users/subrata4096/events{/privacy}","received_events_url":"https://api.github.com/users/subrata4096/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-20T12:55:46Z","updated_at":"2015-12-23T04:07:16Z","closed_at":null,"body":"I tried to use YCSB with Memcached with the memcached binding from your GitHub.\r\nCommand: `./bin/ycsb load memcached -s -P workloads/workloada -p \"memcached.hosts=127.0.0.1\"`\r\n\r\n```\r\njava.nio.channels.CancelledKeyException\r\n    at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)\r\n    at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)\r\n    at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)\r\n    at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)\r\n    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)\r\n    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)\r\n    at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)\r\n2015-12-20 04:20:19.188 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client\r\n2015-12-20 04:20:19:190 0 sec: 1000 operations; 1402.52 current ops/sec; [CLEANUP: Count=1, Max=2141, Min=2140, Avg=2141, 90=2141, 99=2141, 99.9=2141, 99.99=2141] [INSERT: Count=1000, Max=55007, Min=337, Avg=574, 90=627, 99=1273, 99.9=6935, 99.99=55007]\r\n```\r\n\r\nMore over, when I used additional argument: \"`-threads 8`\", I got few more cryptic errors:\r\n\r\n```\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\nDBWrapper: report latency for each error is false and specific error codes to track for latency are: []\r\n2015-12-20 04:49:41.529 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}\r\n```"},"comment":{"url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/comments/166798857","html_url":"https://github.com/brianfrankcooper/YCSB/issues/541#issuecomment-166798857","issue_url":"https://api.github.com/repos/brianfrankcooper/YCSB/issues/541","id":166798857,"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-23T04:07:16Z","updated_at":"2015-12-23T04:07:16Z","body":"@subrata4096 - what version of Java are you using?"}}