-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1668] Fix NPE when handle closed file writers
### What changes were proposed in this pull request? To fix an NPE when handling the closed file writers. ### Why are the changes needed? If a file writer stores its shuffle data in memory, the disk file info object will be null, causing NPE. ### Does this PR introduce _any_ user-facing change? NO. ### How was this patch tested? GA. Closes #2846 from FMX/b1688. Authored-by: mingji <[email protected]> Signed-off-by: Shuang <[email protected]>
- Loading branch information
Showing
5 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,4 +106,6 @@ public boolean isStreamsEmpty() { | |
return streams.isEmpty(); | ||
} | ||
} | ||
|
||
public abstract String getFilePath(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters