-
- Downloads
[SPARK-17433] YarnShuffleService doesn't handle moving credentials levelDb
The secrets leveldb isn't being moved if you run spark shuffle services without yarn nm recovery on and then turn it on. This fixes that. I unfortunately missed this when I ported the patch from our internal branch 2 to master branch due to the changes for the recovery path. Note this only applies to master since it is the only place the yarn nm recovery dir is used. Unit tests ran and tested on 8 node cluster. Fresh startup with NM recovery, fresh startup no nm recovery, switching between no nm recovery and recovery. Also tested running applications to make sure wasn't affected by rolling upgrade. Author: Thomas Graves <tgraves@prevailsail.corp.gq1.yahoo.com> Author: Tom Graves <tgraves@apache.org> Closes #14999 from tgravescs/SPARK-17433.
Showing
- common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java 39 additions, 17 deletions...ava/org/apache/spark/network/yarn/YarnShuffleService.java
- yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala 11 additions, 1 deletion...g/apache/spark/network/yarn/YarnShuffleServiceSuite.scala
Loading
Please register or sign in to comment