-
Notifications
You must be signed in to change notification settings - Fork 1
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
AttributeError: 'NoneType' object has no attribute 'mutateRows' #3
Comments
found it. I had to add:
after my first row :) |
Good catch, I'll see about making the client value an object which raises an error instead of it being None. |
It still doesn't work :(
Trying to add a breakpoint and I see:
my HBase thrift runs with:
what am I missing now? |
My guess is that Edit: the 0.94 branch shows that it should be there. I'll see if I can set up a test environment and try it out. |
thanks, @aiudirog.
I also tried to run with the regular package (happybase) and got the same error :( |
I think that I found the issue after trying to contribute here. I ran thrift2 by:
After changing it to thrift (1) the code above is working:
Isn't thrift2 newer? is there support for thrift2? (our production HBase cluster expose Thrift2) |
Aha I completely missed that you are using the thrift2 API. Yes that is currently unsupported as this codebase isn't much different than the original happybase. I think you may be the first to actually require using it and it would be really useful to get the support included. It is probably going to be a lot of work as I recall the API being quite different. |
While I don't use the thrift2 API at work, I would like to get it integrated. I've started a new branch on my fork here for any work: https://github.com/aiudirog/aiohappybase/tree/thrift2 The API is different enough that I think it warrants to separate implementations, but I'll have to explore it a bit before I'm 100% sure. |
I'm going to close this in favor of having two dedicated issues. |
I'm trying to use
aiohappybase
with our old HBase 0.94 :(Here is my code:
and I'm getting an exception on the 3rd row:
batch = table.batch()
:What am I missing here?
UPDATE:
I've found that it is broken in both v1.4.0 + v1.3.0 but it DOES work in v1.2.0.
On the other hand, seems like v1.2.0 doesn't support
counter_inc
:(The text was updated successfully, but these errors were encountered: