[
https://issues.apache.org/jira/browse/HBASE-12404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-12404:
--------------------------
Attachment: 12404v9.txt
Fixes some tests. Test fails are mostly complaint from down in
HConnectionManager implementation that the connection cannot be 'managed' which
is what connections made when you do new HTable w/o passing a Connection are.
I made it so you can get a shared Connection from HBaseTestingUtility and it is
used internally when we make the HBaseAdmin that is returned when you do
HTU.getHBaseAdmin. That seems to have fixed a bunch. There is other thorny
stuff hanging out such as replicas destroying the HBaseAdmin used by HTU and
instead putting in place its own (closing the old before creating the new).
Lets see how this patch does.
Oh, I might want to remove the 'managed' check when backport to branch1. It is
good for forcing us on to the new API but we don't want this complaint coming
up in user code.
> Task 5 from parent: Replace internal HTable constructor use with
> HConnection#getTable (0.98, 0.99)
> --------------------------------------------------------------------------------------------------
>
> Key: HBASE-12404
> URL: https://issues.apache.org/jira/browse/HBASE-12404
> Project: HBase
> Issue Type: Sub-task
> Reporter: stack
> Assignee: stack
> Fix For: 0.99.2
>
> Attachments:
> 0001-HBASE-12404-Task-5-from-parent-Replace-internal-HTab.patch, 12404.txt,
> 12404v2.txt, 12404v3.txt, 12404v5.txt, 12404v6.txt, 12404v7.txt, 12404v9.txt
>
>
> Do the step 5. from the [~ndimiduk] list in parent issue. Go through src
> code and change all new HTable to instead be connection.getTable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)