Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-1922] Fixes NPE when TM receives a null input split #631

Closed
wants to merge 1 commit into from

Conversation

tillrohrmann
Copy link
Contributor

The TaskInputSplitProvider did not handle null input splits which are wrapped into a NextInputSplit message properly. Fixed this.

jobID,
vertexID,
executionID,
Thread.currentThread().getContextClassLoader(),
Copy link
Contributor

Choose a reason for hiding this comment

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

This is probably null, no? The default classloader can be grabbed either via. Classloader.getSystemClassloader() or here via getClass().getClassloader().

Copy link
Contributor

Choose a reason for hiding this comment

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

This could be null. Would probably better to grab class loader via getClass I suppose.

@StephanEwen
Copy link
Contributor

I'll fix this and merge the pull request...

@tillrohrmann
Copy link
Contributor Author

Thanks for fixing this.

On Tue, Apr 28, 2015 at 8:21 PM, Stephan Ewen notifications@github.com
wrote:

I'll fix this and merge the pull request...


Reply to this email directly or view it on GitHub
#631 (comment).

@asfgit asfgit closed this in ccd574a Apr 29, 2015
bhatsachin pushed a commit to bhatsachin/flink that referenced this pull request May 5, 2015
marthavk pushed a commit to marthavk/flink that referenced this pull request Jun 9, 2015
@tillrohrmann tillrohrmann deleted the fixInputSplit branch June 16, 2015 16:46
nltran pushed a commit to nltran/flink that referenced this pull request Jan 8, 2016
pnowojski pushed a commit to pnowojski/flink that referenced this pull request Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants