hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9224) Print out name of the method we do not support rather than throw NPE
Date Wed, 14 Aug 2013 23:56:48 GMT

     [ 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

Mime
View raw message