Closed behrangsa closed 12 years ago
Hey, this is done on purpose, the developer needs to ensure that the ID is a string.
This doesn't make sense. When a non-String ID is passed, only the current call should fail and it should not affect future calls. If you think otherwise, it would be nice if you could give an explanation.
This looks like saying that if in MySQL I create a malformed SQL query, then not only that query should not work, but also no subsequent queries should work either unless I restart the app! Doesn't make sense at all.
Oh sorry, I didn't get your question. I don't need to restart the application (on dev or production) when I get this error, I can do a request afterwards without any problem. I see that you are using ruby 1.9.3, we haven't done any test with it, but I guess that it shouldn't be the problem... what is the version of hbase / thrift that you are running?
Vincent,
It's thrift 0.2.0 and hbase 0.90.4. I am actually using MapR's VM which can be downloaded from here: http://package.mapr.com/releases/v1.2.0/vmdemo/MapR-VM-1.2.0.12140GA-1-m5.tar.bzip2
After sending an invalid query (passing integer instead of string as the ID), the subsequent calls to
find
fail.