diff options
author | Sean Owen <sowen@cloudera.com> | 2016-04-21 11:03:16 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-04-21 11:03:16 +0100 |
commit | 8bd05c9db2e9c1c77fd06d490e5d4136acd6821c (patch) | |
tree | e071cb9124ed1c1d82bda6d66eb58453536c6346 /external/kafka-assembly | |
parent | cb51680d2213ef3443d1c02930c1e76fe6eb2e31 (diff) | |
download | spark-8bd05c9db2e9c1c77fd06d490e5d4136acd6821c.tar.gz spark-8bd05c9db2e9c1c77fd06d490e5d4136acd6821c.tar.bz2 spark-8bd05c9db2e9c1c77fd06d490e5d4136acd6821c.zip |
[SPARK-8393][STREAMING] JavaStreamingContext#awaitTermination() throws non-declared InterruptedException
## What changes were proposed in this pull request?
`JavaStreamingContext.awaitTermination` methods should be declared as `throws[InterruptedException]` so that this exception can be handled in Java code. Note this is not just a doc change, but an API change, since now (in Java) the method has a checked exception to handle. All await-like methods in Java APIs behave this way, so seems worthwhile for 2.0.
## How was this patch tested?
Jenkins tests
Author: Sean Owen <sowen@cloudera.com>
Closes #12418 from srowen/SPARK-8393.
Diffstat (limited to 'external/kafka-assembly')
0 files changed, 0 insertions, 0 deletions