runzhiwang commented on a change in pull request #242: [LIVY-336][SERVER] Livy should not spawn one thread per job to track the job on Yarn URL: https://github.com/apache/incubator-livy/pull/242#discussion_r350674099
########## File path: server/src/main/scala/org/apache/livy/utils/SparkYarnApp.scala ########## @@ -122,10 +162,13 @@ class SparkYarnApp private[utils] ( with Logging { import SparkYarnApp._ + appQueue.add(this) + private var killed = false - private val appIdPromise: Promise[ApplicationId] = Promise() private[utils] var state: SparkApp.State = SparkApp.State.STARTING private var yarnDiagnostics: IndexedSeq[String] = IndexedSeq.empty[String] + private var appInfo = AppInfo() Review comment: @yiheng it change at this line: https://github.com/apache/incubator-livy/pull/242/files#diff-e0ea718a9f6261f348cba9e32f25da07R310 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services