HBase
  1. HBase
  2. HBASE-2443

IPC client can throw NPE if socket creation fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.3
    • Fix Version/s: 0.90.0
    • Component/s: IPC/RPC
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If the socket factory fails to create a socket (eg Too many open files), then HBaseClient.handleConnectionFailure will throw NPE instead of an IOE subclass

        Activity

        Hide
        Todd Lipcon added a comment -

        Here's a patch. We should write a unit test and integrate this in Hadoop too.

        Show
        Todd Lipcon added a comment - Here's a patch. We should write a unit test and integrate this in Hadoop too.
        Hide
        stack added a comment -

        Bringing into 0.20.4/0.21

        Show
        stack added a comment - Bringing into 0.20.4/0.21
        Hide
        stack added a comment -

        Committed to two branches and TRUNK. After looking at patch, all it does is test for null.

        Show
        stack added a comment - Committed to two branches and TRUNK. After looking at patch, all it does is test for null.
        Hide
        Todd Lipcon added a comment -

        Filed in hadoop as HADOOP-6724

        Show
        Todd Lipcon added a comment - Filed in hadoop as HADOOP-6724
        Hide
        stack added a comment -

        Marking these as fixed against 0.21.0 rather than against 0.20.5.

        Show
        stack added a comment - Marking these as fixed against 0.21.0 rather than against 0.20.5.

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development