Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5759

HBaseClient throws NullPointerException when EOFException should be used.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When a RPC data input stream is closed, protobuf doesn't raise an EOFException, it returns a null RpcResponse object.

      We need to check if the response is null before trying to access it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jxiang Jimmy Xiang
                Reporter:
                jxiang Jimmy Xiang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: