Skip to content

Switched type hints from HTable to HTableInterface #13

Merged
merged 1 commit into from Nov 27, 2012

2 participants

@senior
senior commented Nov 26, 2012

I found when upgrading to CDH4 (HBase version 0.92.1-cdh4.1.2), HTablePool is no longer returning an HTable instance, but an implementation of HTableInterface. HTable also implements this, so these changes should be backward compatible.

@davidsantiago
Owner

This looks fine to me, will apply.

Is this causing an actual error in your code, or preventive?

David

@davidsantiago davidsantiago merged commit 3843d53 into davidsantiago:develop Nov 27, 2012
@senior
senior commented Nov 27, 2012

Actual error, ClassCastException I think. Was trying to see if some code works on the latest Cloudera distribution and hit it.

@davidsantiago
Owner

OK, thanks. I saw the potential for it to cause problems, so I put out 0.92.1 last night just in case. But it's good to know it's not just theoretical.

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.