-
- Downloads
[SPARK-21934][CORE] Expose Shuffle Netty memory usage to MetricsSystem
## What changes were proposed in this pull request? This is a followup work of SPARK-9104 to expose the Netty memory usage to MetricsSystem. Current the shuffle Netty memory usage of `NettyBlockTransferService` will be exposed, if using external shuffle, then the Netty memory usage of `ExternalShuffleClient` and `ExternalShuffleService` will be exposed instead. Currently I don't expose Netty memory usage of `YarnShuffleService`, because `YarnShuffleService` doesn't have `MetricsSystem` itself, and is better to connect to Hadoop's MetricsSystem. ## How was this patch tested? Manually verified in local cluster. Author: jerryshao <sshao@hortonworks.com> Closes #19160 from jerryshao/SPARK-21934.
Showing
- common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleClient.java 8 additions, 0 deletions...g/apache/spark/network/shuffle/ExternalShuffleClient.java
- common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ShuffleClient.java 12 additions, 0 deletions.../java/org/apache/spark/network/shuffle/ShuffleClient.java
- core/src/main/scala/org/apache/spark/deploy/ExternalShuffleService.scala 3 additions, 1 deletion...cala/org/apache/spark/deploy/ExternalShuffleService.scala
- core/src/main/scala/org/apache/spark/deploy/ExternalShuffleServiceSource.scala 5 additions, 5 deletions...rg/apache/spark/deploy/ExternalShuffleServiceSource.scala
- core/src/main/scala/org/apache/spark/executor/Executor.scala 2 additions, 1 deletioncore/src/main/scala/org/apache/spark/executor/Executor.scala
- core/src/main/scala/org/apache/spark/network/netty/NettyBlockTransferService.scala 16 additions, 0 deletions...pache/spark/network/netty/NettyBlockTransferService.scala
- core/src/main/scala/org/apache/spark/storage/BlockManager.scala 21 additions, 0 deletions...rc/main/scala/org/apache/spark/storage/BlockManager.scala
Please register or sign in to comment