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.
Switched type hints from HTable to HTableInterface, needed to work wi…
…th HBase 92.1 (Cloudera's CDH4)
This looks fine to me, will apply.
Is this causing an actual error in your code, or preventive?
Actual error, ClassCastException I think. Was trying to see if some code works on the latest Cloudera distribution and hit it.
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.