Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HADOOP-15327. Upgrade MR ShuffleHandler to use Netty4 #3259

Closed

Commits on Nov 10, 2022

  1. [WIP] This is the first version that compiles.

    Based on: jojochuang@1476163
    Added some enhancements
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    dd03fd5 View commit details
    Browse the repository at this point in the history
  2. Update

    Based on: jojochuang@2d647ce
    Added some modifications
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    89b0efd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eda8f0f View commit details
    Browse the repository at this point in the history
  4. TestShuffleHandler: Fix mocking in testSendMapCount + replace ch.writ…

    …e() with ch.writeAndFlush()
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    f657881 View commit details
    Browse the repository at this point in the history
  5. TestShuffleHandler.testMaxConnections: Rewrite test + production code…

    …: accepted connection handling
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    8efba68 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    af59f54 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7a003db View commit details
    Browse the repository at this point in the history
  8. Modify TODOs

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    c8c6a8f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    be1c67a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    72d6cdf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    72db0f0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    def6ef1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4c6123e View commit details
    Browse the repository at this point in the history
  14. Attempt to fix tests

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    9a4f963 View commit details
    Browse the repository at this point in the history
  15. code cleanup

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    7547277 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a1fb09c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    368bbdb View commit details
    Browse the repository at this point in the history
  18. TestShuffleHandler: Introduced InputStreamReadResult that stores resp…

    …onse as string + total bytes read
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    99689d5 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a25aaf3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    42138ce View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0618116 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7c9dd4d View commit details
    Browse the repository at this point in the history
  23. TestShuffleHandler.testMapFileAccess: Modify to be able to run it loc…

    …ally + reproduce jenkins UT failure
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    34bd098 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    23dd755 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a25d845 View commit details
    Browse the repository at this point in the history
  26. Turn off debug mode

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    c579a85 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    948aece View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    56680cf View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    23a4c03 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9e55965 View commit details
    Browse the repository at this point in the history
  31. Fixed error handling + LastHttpContent

    - Introduced NettyChannelHelper in ShuffleHandler
    - Added Debug / Trace logs to ShuffleHandler
    - Fix: Write LastHttpContent.EMPTY_LAST_CONTENT to channel in ShuffleHandler.ReduceMapFileCount#operationComplete
    - Fix exception handling + sending HTTP 200 / HTTP 500 responses in ShuffleHandler.Shuffle#channelRead
    - Add a flag to control if LoggingHttpResponseEncoder is added to the pipeline (debugging purposes)
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    0f2fb11 View commit details
    Browse the repository at this point in the history
  32. ShuffleHandlerTest fixes + enhancements

    - Increase URLConnection read timeout / connect timeout when using Debug mode
    - Introduce class: ResponseConfig, that stores header + payload data sizes + final HTTP response content-length
    - Introduce abstract class: AdditionalMapOutputSenderOperations, that can perform additional operations when sendMap is invoked
    - ShuffleHandlerForKeepAliveTests: Enhanced failure control / close channel control
    - ShuffleHeaderProvider: Don't compute header on every invocation, cache the size of it
    - Fix TestShuffleHandler.HeaderPopulator#populateHeaders: Return full content-length of response, not just the length of the header
    - Fix in HttpConnectionHelper#connectToUrlsInternal: Add one headerSize to totalBytesRead.
    - Enhancement in HttpConnectionHelper#connectToUrlsInternal: Fail-fast if expected content-length < actual content-length.
    - Added new keepalive tests, including: testKeepAliveMultipleMapAttemptIds
    - Added new keepalive test with HTTP 400 bad request
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    35d2f04 View commit details
    Browse the repository at this point in the history
  33. Fixed Gergo's comments

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    395f541 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    f396a31 View commit details
    Browse the repository at this point in the history
  35. Fix comments from Andras: Use Collections.emptyList() where possible …

    …in TestShuffleHandler.java
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    77c1095 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    a8efbf9 View commit details
    Browse the repository at this point in the history
  37. Fix comments from Andras: Replace GlobalEventExecutor.INSTANCE with a…

    … 5 thread instance of DefaultEventExecutorGroup
    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    2bd9d75 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    6145df4 View commit details
    Browse the repository at this point in the history
  39. Attempt to fix shading

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    1994a19 View commit details
    Browse the repository at this point in the history
  40. Empty-Commit

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    741cf52 View commit details
    Browse the repository at this point in the history
  41. Empty-Commit

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    5c6f5b4 View commit details
    Browse the repository at this point in the history
  42. Empty-Commit

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    1690178 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    b9f364d View commit details
    Browse the repository at this point in the history
  44. fix blanks

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    1ae403b View commit details
    Browse the repository at this point in the history
  45. Fix checkstyle

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    4aa8d45 View commit details
    Browse the repository at this point in the history
  46. fix review comments

    szilard-nemeth committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    6f36b38 View commit details
    Browse the repository at this point in the history