HBase
  1. HBase
  2. HBASE-5759

HBaseClient throws NullPointerException when EOFException should be used.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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.

      1. hbase-5759.patch
        1.0 kB
        Jimmy Xiang

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development