Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
1.0.0
-
None
-
None
-
None
Description
Managed connections are a bit of a pain when it comes to the new API. If a connection is managed, then connection.getAdmin() and connection.getTable(..) throw NeedUnmanagedConnectionException. Is that really necessary, i.e can we create Tables and Admins with a managed connection? If not, can we come up with something better than sprinkling NeedUnmanagedConnectionException try-catch blocks in the HBase code base to fix this problem?
Attachments
Issue Links
- relates to
-
HBASE-13252 Get rid of managed connections and connection caching
- Closed