You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "nkeywal (JIRA)" <ji...@apache.org> on 2012/08/29 15:25:07 UTC

[jira] [Created] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

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

[jira] [Updated] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "nkeywal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nkeywal updated HBASE-6683:
---------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)
    
> 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
>            Assignee: Devaraj Das
>            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

[jira] [Updated] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)
    
> 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
>            Assignee: Devaraj Das
>            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

[jira] [Updated] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: Devaraj Das
    
> 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
>            Assignee: Devaraj Das
>            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

[jira] [Commented] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444564#comment-13444564 ] 

Hadoop QA commented on HBASE-6683:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12543004/6683.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 hadoop2.0.  The patch compiles against the hadoop 2.0 profile.

    -1 javadoc.  The javadoc tool appears to have generated 110 warning messages.

    -1 javac.  The applied patch generated 5 javac compiler warnings (more than the trunk's current 4 warnings).

    -1 findbugs.  The patch appears to introduce 9 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
     

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/2730//console

This message is automatically generated.
                
> 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
>            Assignee: Devaraj Das
>            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

[jira] [Commented] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444811#comment-13444811 ] 

Hudson commented on HBASE-6683:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #154 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/154/])
    HBASE-6683 Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5 (Devaraj Das) (Revision 1378845)

     Result = FAILURE
nkeywal : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ProtobufRpcEngine.java

                
> 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
>            Assignee: Devaraj Das
>            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

[jira] [Commented] (HBASE-6683) Wrong warning in logs WARN org.apache.hadoop.ipc.HBaseServer: Methods length : 5

Posted by "nkeywal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444784#comment-13444784 ] 

nkeywal commented on HBASE-6683:
--------------------------------

Thanks for the patch, Committed revision 1378845.
                
> 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
>            Assignee: Devaraj Das
>            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