[
https://issues.apache.org/jira/browse/HBASE-7730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568182#comment-13568182
]
Ted Yu commented on HBASE-7730:
-------------------------------
{code}
+ } catch (UndeclaredThrowableException ute) {
{code}
Can you use this check ?
ute.getCause() instanceof NoSuchMethodException
We were calling synchronousBalanceSwitch(). So if the cause of exception was
NoSuchMethodException, it is implied that synchronousBalanceSwitch() isn't
supported.
> HBaseAdmin#synchronousBalanceSwitch is not compatible with 0.92
> ---------------------------------------------------------------
>
> Key: HBASE-7730
> URL: https://issues.apache.org/jira/browse/HBASE-7730
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 0.94.2
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 0.94.5
>
> Attachments: 0.94-7730_v1.patch
>
>
> HBASE-4429 introduced synchronousBalanceSwitch to HMaster. HBaseAdmin uses
> this call (HBASE-5630). Therefore, hbck and hbase shell are not backward
> compatible with 0.92.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira