HBase
  1. HBase
  2. HBASE-9224

Print out name of the method we do not support rather than throw NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.95.2
    • Component/s: IPC/RPC
    • Labels:
      None

      Description

      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.

      1. 9224.txt
        0.8 kB
        stack

        Activity

        Hide
        stack added a comment -

        One liner I committed to 0.95 and trunk.

        Show
        stack added a comment - One liner I committed to 0.95 and trunk.
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in HBase-TRUNK #4391 (See https://builds.apache.org/job/HBase-TRUNK/4391/)
        HBASE-9224 Print out name of the method we do not support rather than throw NPE (stack: rev 1514102)

        • /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
        Show
        Hudson added a comment - SUCCESS: Integrated in HBase-TRUNK #4391 (See https://builds.apache.org/job/HBase-TRUNK/4391/ ) HBASE-9224 Print out name of the method we do not support rather than throw NPE (stack: rev 1514102) /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #677 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/677/)
        HBASE-9224 Print out name of the method we do not support rather than throw NPE (stack: rev 1514102)

        • /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #677 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/677/ ) HBASE-9224 Print out name of the method we do not support rather than throw NPE (stack: rev 1514102) /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java

          People

          • Assignee:
            stack
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development