[ https://issues.apache.org/jira/browse/SPARK-25451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zuotingbing updated SPARK-25451: -------------------------------- Description: See the attached pic. !image-2018-09-18-16-35-09-548.png! The executor 1 has 7 tasks, but in the Stages Page the total tasks of executor is 6. to reproduce this simply start a shell: $SPARK_HOME/bin/spark-shell --executor-cores 1 --executor-memory 1g --total-executor-cores 2 --master spark://localhost.localdomain:7077 Run job as fellows: {code:java} sc.parallelize(1 to 10000, 3).map{ x => throw new RuntimeException("Bad executor")}.collect() {code} Go to the stages page and you will see the Total Tasks is not right in {code:java} Aggregated Metrics by Executor{code} table. was: See the attached pic. !image-2018-09-18-16-35-09-548.png! The executor 1 has 7 tasks, but in the Stages Page the total tasks of executor is 6. to reproduce this simply start a shell: $SPARK_HOME/bin/spark-shell --executor-cores 1 --executor-memory 1g --total-executor-cores 2 --master spark://localhost.localdomain:7077 Run job as fellows: {code:java} sc.parallelize(1 to 10000, 3).map{ x => throw new RuntimeException("Bad executor")}.collect() {code} Go to the stages page and you will see the Total Tasks is not right in {code:java} Aggregated Metrics by Executor{code} table. > Stages page doesn't show the right number of the total tasks > ------------------------------------------------------------ > > Key: SPARK-25451 > URL: https://issues.apache.org/jira/browse/SPARK-25451 > Project: Spark > Issue Type: Bug > Components: Web UI > Affects Versions: 2.3.1 > Reporter: zuotingbing > Priority: Major > Attachments: mshot.png > > > > See the attached pic. > > !image-2018-09-18-16-35-09-548.png! > The executor 1 has 7 tasks, but in the Stages Page the total tasks of > executor is 6. > > to reproduce this simply start a shell: > $SPARK_HOME/bin/spark-shell --executor-cores 1 --executor-memory 1g > --total-executor-cores 2 --master spark://localhost.localdomain:7077 > Run job as fellows: > > > {code:java} > sc.parallelize(1 to 10000, 3).map{ x => throw new RuntimeException("Bad > executor")}.collect() {code} > > Go to the stages page and you will see the Total Tasks is not right in > {code:java} > Aggregated Metrics by Executor{code} > table. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org