GitHub user lw-lin opened a pull request:
https://github.com/apache/spark/pull/12035
[SPARK-13211][STREAMING] Deprecate certain constructors of
StreamingContext's
## What changes were proposed in this pull request?
These constructors, each of which takes a checkpoint path parameter, are
deprecated by this PR:
- `StreamingContext`'s
- `this(path: String, hadoopConf: Configuration)`
- `this(path: String)`
- `this(path: String, sparkContext: SparkContext)`
- `JavaStreamingContext`'s
- `this(path: String)`
- `this(path: String, hadoopConf: Configuration)`
## How was this patch tested?
Existing test suits.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lw-lin/spark spark-13211
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12035.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12035
----
commit 1ab24e1f5fd1687d84f43eea1429d98867c888c9
Author: Liwei Lin <[email protected]>
Date: 2016-03-29T07:45:49Z
fix java.util.NoSuchElementException: None.get
commit 8e5cf1ca5501345d82adcd80c781aa67a9beb17f
Author: Liwei Lin <[email protected]>
Date: 2016-03-29T09:03:36Z
deprecates StreamingContext's constructors taking ck path as a parameter
commit e230ec06cae0750c68745f7148bce49fa695e298
Author: Liwei Lin <[email protected]>
Date: 2016-03-29T09:06:28Z
revert read.getOrElse(null) to read.get
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]