hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5
Date Wed, 29 Aug 2012 23:21:08 GMT

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

Devaraj Das updated HBASE-6683:
-------------------------------

    Attachment: 6683.patch

Straightforward patch.
                
> Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-6683
>                 URL: https://issues.apache.org/jira/browse/HBASE-6683
>             Project: HBase
>          Issue Type: Bug
>            Reporter: nkeywal
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: 6683.patch
>
>
> From ProtobufRpcEngine.java
> {code}
>     static Method getMethod(Class<? extends VersionedProtocol> protocol,
>         String methodName) {
>       Method method = methodInstances.get(methodName);
>       if (method != null) {
>         return method;
>       }
>       Method[] methods = protocol.getMethods();
>       LOG.warn("Methods length : " + methods.length); <=========
>       for (Method m : methods) {
>         if (m.getName().equals(methodName)) {
>           m.setAccessible(true);
>           methodInstances.put(methodName, m);
>           return m;
>         }
>       }
>       return null;
>     }
> {code}

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