hbase-issues mailing list archives

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

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


>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