HBase
  1. HBase
  2. HBASE-4159

HBaseServer - IPC Reader threads are not daemons

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.3
    • Fix Version/s: 0.90.5
    • Component/s: IPC/RPC
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Doing a jstack on a region server process shows that the IPC Reader threads are not created as daemon threads whereas IPC Server threads (and other types are).

      This could cause the region server to not exit after the main method does if for some reason these non-daemon threads don't exit themselves.

      Servers are daemon
      "IPC Server handler 7 on 60020" daemon prio=10 tid=0x00002aaabc998800 nid=0x7157 waiting on condition [0x0000000044b4e000]
      "IPC Server handler 6 on 60020" daemon prio=10 tid=0x00002aaabc996800 nid=0x7156 waiting on condition [0x0000000044a4d000]
      "IPC Server handler 5 on 60020" daemon prio=10 tid=0x00002aaabc995000 nid=0x7155 waiting on condition [0x000000004494c000]

      Readers are not
      "IPC Reader 5 on port 60020" prio=10 tid=0x00002aaabc47d000 nid=0x712a runnable [0x0000000043033000]
      "IPC Reader 4 on port 60020" prio=10 tid=0x00002aaabc462000 nid=0x7129 runnable [0x0000000042f32000]
      "IPC Reader 3 on port 60020" prio=10 tid=0x00002aaabc447000 nid=0x7128 runnable [0x0000000042e31000]

      1. HBASE-4159.patch
        0.7 kB
        Douglas Campbell

        Activity

        stack made changes -
        Fix Version/s 0.90.5 [ 12317145 ]
        Fix Version/s 0.90.6 [ 12319200 ]
        stack made changes -
        Fix Version/s 0.90.6 [ 12319200 ]
        Fix Version/s 0.90.5 [ 12317145 ]
        Ted Yu made changes -
        Fix Version/s 0.90.5 [ 12317145 ]
        Fix Version/s 0.92.0 [ 12314223 ]
        Fix Version/s 0.90.4 [ 12316406 ]
        Andrew Purtell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.90.4 [ 12316406 ]
        Fix Version/s 0.92.0 [ 12314223 ]
        Resolution Fixed [ 1 ]
        Ted Yu made changes -
        Assignee Douglas Campbell [ deegs_ca ]
        Douglas Campbell made changes -
        Field Original Value New Value
        Attachment HBASE-4159.patch [ 12489238 ]
        Douglas Campbell created issue -

          People

          • Assignee:
            Douglas Campbell
            Reporter:
            Douglas Campbell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development