You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/08/15 01:56:48 UTC

[jira] [Updated] (HBASE-9224) Print out name of the method we do not support rather than throw NPE

     [ https://issues.apache.org/jira/browse/HBASE-9224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-9224:
-------------------------

    Attachment: 9224.txt

One liner I committed to 0.95 and trunk.
                
> Print out name of the method we do not support rather than throw NPE
> --------------------------------------------------------------------
>
>                 Key: HBASE-9224
>                 URL: https://issues.apache.org/jira/browse/HBASE-9224
>             Project: HBase
>          Issue Type: Bug
>          Components: IPC/RPC
>            Reporter: stack
>         Attachments: 9224.txt
>
>
> If a client is trying to invoke a method we do not support, we just NPE, rather than return an unsupported exception w/ name of the method we do not support.  Makes it hard debugging what client is doing wrong.

--
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