GitHub user QiangCai opened a pull request:
https://github.com/apache/carbondata/pull/1846 [CARBONDATA-2067] Fix NPE exception in StreamHandoffRDD
To avoid NPE of carbon table in StreamHandoffRDD, add carbon table to cache in internalCompute method
- [x] Any interfaces changed?
no
- [x] Any backward compatibility impacted?
no
- [x] Document update required?
no
- [x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
local mode doesn't have this issue
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
- [x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
small changes
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/QiangCai/carbondata handoff_nullpoint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1846.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1846
----
commit ca75a647434ebd190c502d8bc966257f7f86516d
Author: QiangCai <qiangcai@...>
Date: 2018-01-23T08:20:19Z
fix NPE exception in StreamHandoffRDD
----
---