junegunn / hbase-jruby

A JRuby binding for HBase
MIT License
38 stars 14 forks source link

table.enable_aggregation! hangs #8

Closed graphex closed 11 years ago

graphex commented 11 years ago

Calling table.enable_aggregation! or table.add_coprocessor! (with or without bangs) seems to hang the vm.

junegunn commented 11 years ago

Which version of HBase are you running? There is a small test case for aggregation coprocessor and it is passing on 0.92.0, 0.94.2, cdh4.1.3 and cdh4.2.0. (You can run the tests yourself as described in https://github.com/junegunn/hbase-jruby#test)

It could be a problem of the HBase you're running. You know, hbase-jruby is just a thin wrapper around Java API, so you can try doing it with the native Java API (HBaseAdmin and HTableDescriptor) and see if it hangs there as well. If not, let me know.

Thanks.

graphex commented 11 years ago

It didn't hang on my production server, so it is likely something to do with my homebrew version 0.94.2. I'll close this issue.