Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/20807#discussion_r174027869
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala
---
@@ -496,7 +497,7 @@ private[yarn] class YarnAllocator(
executorIdCounter += 1
val executorHostname = container.getNodeId.getHost
val containerId = container.getId
- val executorId = executorIdCounter.toString
+ val executorId = (initialExecutorIdCounter +
executorIdCounter).toString
--- End diff --
it seems a bit strange to me to "add" the Ids?
@vanzin @jerryshao
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]