274bbb64c6
This is based on patch sent me by Balazs Meszaros. The good stuff in here is from him. This patch does less than his ambition. It changes Admin class only. Can work on making AsyncAdmin cohere in a follow-on. * Deprecates getAlterStatus. Everywhere else we talk of 'modify' rather 'alter' and should use Future returned from async instead. * isTableAvailable(TableName, byte [][]) has been deprecated to be removed; use the overrie instead. This is a weird method. * Changed listTableDescriptor to getDescriptor. * Renamed other like methods to have same pattern (deprecating the old): balancer => balance setBalancerRunning => balancerSwitch setNormalizerRunning => normalizerSwitch enableCatalogJanitor => catalogJanitorSwitch setCleanerChoreRunning => cleanerChoreSwitch setSplitOrMergeEnabled => splitOrMergeEnabledSwitch * Renamed (with deprecation of old) runCatalogScan => runCatalogJanitor. * Reviewed generated javadoc and made some edits; purged reference to hbase issues from our API, fixed param names, etc. * Made all the enable services methods have same pattern. * Renamed takeSnapshotAsync as snapshotAsync (with deprecation of old) * Renamed execProcedureWithRet as execProcedureWithReturn (with deprecation) Signed-off-by: Michael Stack <stack@apache.org> |
||
---|---|---|
.. | ||
src/test/java/org/apache/hadoop/hbase | ||
pom.xml |