Skip to content

Conversation

@Ngone51
Copy link
Member

@Ngone51 Ngone51 commented Apr 19, 2018

What changes were proposed in this pull request?

There‘s a miswrite in BlacklistTracker's updateBlacklistForFetchFailure:

val blacklistedExecsOnNode =
    nodeToBlacklistedExecs.getOrElseUpdate(exec, HashSet[String]())
blacklistedExecsOnNode += exec

where first exec should be host.

How was this patch tested?

adjust existed test.

@Ngone51
Copy link
Member Author

Ngone51 commented Apr 19, 2018

ping @jerryshao

@jerryshao
Copy link
Contributor

Ahh, this looks like a bug I introduced.

@jerryshao
Copy link
Contributor

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Apr 19, 2018

Test build #89542 has finished for PR 21104 at commit d225721.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

@jerryshao jerryshao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. CC @squito .

@squito
Copy link
Contributor

squito commented Apr 19, 2018

lgtm, good catch

asfgit pushed a commit that referenced this pull request Apr 19, 2018
…etchFailure

## What changes were proposed in this pull request?

There‘s a miswrite in BlacklistTracker's updateBlacklistForFetchFailure:
```
val blacklistedExecsOnNode =
    nodeToBlacklistedExecs.getOrElseUpdate(exec, HashSet[String]())
blacklistedExecsOnNode += exec
```
where first **exec** should be **host**.
## How was this patch tested?

adjust existed test.

Author: wuyi <[email protected]>

Closes #21104 from Ngone51/SPARK-24021.

(cherry picked from commit 0deaa52)
Signed-off-by: Imran Rashid <[email protected]>
@squito
Copy link
Contributor

squito commented Apr 19, 2018

merged to master & 2.3.1, thanks!

@asfgit asfgit closed this in 0deaa52 Apr 19, 2018
otterc pushed a commit to linkedin/spark that referenced this pull request Mar 22, 2023
…etchFailure

## What changes were proposed in this pull request?

There‘s a miswrite in BlacklistTracker's updateBlacklistForFetchFailure:
```
val blacklistedExecsOnNode =
    nodeToBlacklistedExecs.getOrElseUpdate(exec, HashSet[String]())
blacklistedExecsOnNode += exec
```
where first **exec** should be **host**.
## How was this patch tested?

adjust existed test.

Author: wuyi <[email protected]>

Closes apache#21104 from Ngone51/SPARK-24021.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants