Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11295

RPC Server Reader thread can't shutdown if RPCCallQueue is full

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      If RPC server is asked to stop when RPCCallQueue is full, reader.join() will just wait there. That is because

      1. The reader thread is blocked on callQueue.put(call);.
      2. When RPC server is asked to stop, it will interrupt all handler threads and thus no threads will drain the callQueue.

      Attachments

        1. HADOOP-11295.patch
          3 kB
          Ming Ma
        2. HADOOP-11295-2.patch
          3 kB
          Ming Ma
        3. HADOOP-11295-3.patch
          3 kB
          Ming Ma
        4. HADOOP-11295-4.patch
          4 kB
          Gera Shegalov
        5. HADOOP-11295-5.patch
          4 kB
          Gera Shegalov
        6. HADOOP-11295.006.patch
          4 kB
          Gera Shegalov
        7. HADOOP-11295.branch-2.6.patch
          4 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              mingma Ming Ma
              mingma Ming Ma
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: