Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-871

Map task jvm never exits since netty 4 upgrade

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: bsp
    • Labels:
      None

      Description

      Some changes made to the NettyClient.stop() logic related to netty 4 are causing the final worker thread to hang up indefinitely, preventing the map task jvm from exiting. In particular, the call to ProgressableUtils.awaitTerminationFuture() is blocking inside the ChannelFutureListener callback and deadlocking. Simply moving the ProgressableUtils.awaitTerminationFuture() calls outside of the ChannelFutureListener callback and placing them at the end of the NettyClient.stop() method seems to cure the problem.

        Attachments

        1. GIRAPH-871.patch
          2 kB
          Craig Muchinsky

          Issue Links

            Activity

              People

              • Assignee:
                cmartella Claudio Martella
                Reporter:
                cmuchinsky@initiatesystems.com Craig Muchinsky
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: