You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/10/08 17:42:34 UTC

[GitHub] [spark] dongjoon-hyun opened a new pull request #29979: [SPARK-XXX][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

dongjoon-hyun opened a new pull request #29979:
URL: https://github.com/apache/spark/pull/29979


   ### What changes were proposed in this pull request?
   
   This PR aims to use `LinkedHashMap` instead of `Map` for `newlyCreatedExecutors`.
   
   ### Why are the changes needed?
   
   This makes INFO/DEBUG messages more readable.
   
   **BEFORE**
   ```
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 8 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 2 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 5 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 4 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 7 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 10 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 9 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 3 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 DEBUG ExecutorPodsAllocator: Executor with id 6 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:24:21 INFO ExecutorPodsAllocator: Deleting 9 excess pod requests (5,10,6,9,2,7,3,8,4).
   ```
   
   **AFTER**
   ```
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 2 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 3 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 4 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 5 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 6 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 7 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 8 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 9 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 DEBUG ExecutorPodsAllocator: Executor with id 10 was not found in the Kubernetes cluster since it was created 0 milliseconds ago.
   20/10/08 10:25:17 INFO ExecutorPodsAllocator: Deleting 9 excess pod requests (2,3,4,5,6,7,8,9,10).
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CI or `build/sbt -Pkubernetes "kubernetes/test"`


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun closed pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #29979:
URL: https://github.com/apache/spark/pull/29979


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705724768






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun closed pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #29979:
URL: https://github.com/apache/spark/pull/29979


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705742157






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705724768


   **[Test build #129562 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129562/testReport)** for PR 29979 at commit [`0ca202f`](https://github.com/apache/spark/commit/0ca202f656bc781e63526bbd6c00c4b6337a713c).


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731253






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705745454


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34168/
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705757097






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731058


   **[Test build #129562 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129562/testReport)** for PR 29979 at commit [`0ca202f`](https://github.com/apache/spark/commit/0ca202f656bc781e63526bbd6c00c4b6337a713c).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] holdenk commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
holdenk commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731825


   LGTM pending jenkins


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705757083


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34168/
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705742157


   Thank you, @holdenk !


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731253






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705724768


   **[Test build #129562 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129562/testReport)** for PR 29979 at commit [`0ca202f`](https://github.com/apache/spark/commit/0ca202f656bc781e63526bbd6c00c4b6337a713c).


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705757097






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731253






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731253






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705758528


   Merged to master/3.0/2.4.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] holdenk commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
holdenk commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705731825


   LGTM pending jenkins


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705745180


   I'm waiting for K8s IT Jenkins job.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #29979: [SPARK-33096][K8S] Use LinkedHashMap instead of Map for newlyCreatedExecutors

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29979:
URL: https://github.com/apache/spark/pull/29979#issuecomment-705724768


   **[Test build #129562 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129562/testReport)** for PR 29979 at commit [`0ca202f`](https://github.com/apache/spark/commit/0ca202f656bc781e63526bbd6c00c4b6337a713c).


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org