-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch_all_rows() returns None on default arguments. #13
Comments
Hey, Thanks for reporting this. I'll check the issue and make a fix soon. Best regards, |
Hey, the following code works for me:
Could you provide some more information on the issue? |
I think the problem lies on the server side. The version of HBase I used is 0.96.1, and it can't parse "" as a JSON object. |
Confirmed on HBase 0.98.1-cdh5.1.0 (Cloudera). {u'JVM': u'Oracle Corporation 1.7.0_55-24.55-b03', |
Also happened to me with HBase 0.98.4. With default parameters I get an error, with a no-op scanner_config parameter it works. |
I track the source and find that: ps: if scanner_config == '' , it also can work because python will convert content type to xml/text, and you also can define the batch size of scanner. |
Thanks for tracking this down. I'll fix it ASAP. |
It works with argument scanner_config={}. The default value '' can't be parsed by Java side, and causes an HTTP Error 500.
The text was updated successfully, but these errors were encountered: