Skip to content

Conversation

@szhem
Copy link
Contributor

@szhem szhem commented Apr 24, 2017

Using Option(name) instead of Some(name) to prevent runtime failures when using accumulators created like the following

sparkContext.accumulator(0, null)

@szhem szhem changed the title [SPARK-SPARK-20404][CORE] Using Option(name) instead of Some(name) [SPARK-20404][CORE] Using Option(name) instead of Some(name) Apr 24, 2017
…ating accumulators to prevent failures at runtime when using null names
@szhem szhem force-pushed the SPARK-20404-null-acc-names branch from 9c6e4d6 to e12058c Compare April 24, 2017 09:15
@SparkQA
Copy link

SparkQA commented Apr 24, 2017

Test build #3674 has finished for PR 17740 at commit e12058c.

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

asfgit pushed a commit that referenced this pull request Apr 25, 2017
Using Option(name) instead of Some(name) to prevent runtime failures when using accumulators created like the following
```
sparkContext.accumulator(0, null)
```

Author: Sergey Zhemzhitsky <[email protected]>

Closes #17740 from szhem/SPARK-20404-null-acc-names.

(cherry picked from commit 0bc7a90)
Signed-off-by: Sean Owen <[email protected]>
asfgit pushed a commit that referenced this pull request Apr 25, 2017
Using Option(name) instead of Some(name) to prevent runtime failures when using accumulators created like the following
```
sparkContext.accumulator(0, null)
```

Author: Sergey Zhemzhitsky <[email protected]>

Closes #17740 from szhem/SPARK-20404-null-acc-names.

(cherry picked from commit 0bc7a90)
Signed-off-by: Sean Owen <[email protected]>
@srowen
Copy link
Member

srowen commented Apr 25, 2017

Merged to master/2.2/2.1

@asfgit asfgit closed this in 0bc7a90 Apr 25, 2017
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.

3 participants