-
- Downloads
[SPARK-12552][CORE] Correctly count the driver resource when recovering from failure for Master
Currently in Standalone HA mode, the resource usage of driver is not correctly counted in Master when recovering from failure, this will lead to some unexpected behaviors like negative value in UI. So here fix this to also count the driver's resource usage. Also changing the recovered app's state to `RUNNING` when fully recovered. Previously it will always be WAITING even fully recovered. andrewor14 please help to review, thanks a lot. Author: jerryshao <sshao@hortonworks.com> Closes #10506 from jerryshao/SPARK-12552.
Showing
- core/src/main/scala/org/apache/spark/deploy/master/Master.scala 4 additions, 1 deletion...rc/main/scala/org/apache/spark/deploy/master/Master.scala
- core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala 127 additions, 3 deletions...st/scala/org/apache/spark/deploy/master/MasterSuite.scala
Loading
Please register or sign in to comment