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

Map task jvm never exits since netty 4 upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • bsp
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: