Description
As HBaseAdmin is essentially the administrative API, it would seem to follow Java best practices to provide an interface to access it instead of requiring applications to use the raw object.
I am proposing (and would be happy to develop):
- A new interface, HBaseAdminInterface, that captures the signatures of the API (HBaseAdmin will implement this interface)
- A new method, HConnection.getHBaseAdmin(), that returns an instance of the interface
Attachments
Attachments
Issue Links
- breaks
-
HBASE-13027 mapreduce.TableInputFormatBase should create its own Connection if needed
- Closed
- relates to
-
HBASE-10602 Cleanup HTable public interface
- Closed