My Spark/YARN app hit an error while initializing its SparkContext (
YARN-1031). The app stayed around for another 5 minutes continually logging "14/01/18 23:58:59 INFO impl.AMRMClientImpl: Waiting for application to be successfully unregistered." until YARN finally killed it. This is probably because it died before registering in the first place, but still tried to unregister.