diff options
author | jerryshao <sshao@hortonworks.com> | 2016-10-20 10:50:34 -0700 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-10-20 10:50:34 -0700 |
commit | 947f4f25273161dc4719419a35613a71c2e2a150 (patch) | |
tree | ee1cf12ded9530cb16b2bf0456af2f24d0836468 /sql/hive | |
parent | 84b245f2dd31c1cebbf12458bf11f67e287e93f4 (diff) | |
download | spark-947f4f25273161dc4719419a35613a71c2e2a150.tar.gz spark-947f4f25273161dc4719419a35613a71c2e2a150.tar.bz2 spark-947f4f25273161dc4719419a35613a71c2e2a150.zip |
[SPARK-17999][KAFKA][SQL] Add getPreferredLocations for KafkaSourceRDD
## What changes were proposed in this pull request?
The newly implemented Structured Streaming `KafkaSource` did calculate the preferred locations for each topic partition, but didn't offer this information through RDD's `getPreferredLocations` method. So here propose to add this method in `KafkaSourceRDD`.
## How was this patch tested?
Manual verification.
Author: jerryshao <sshao@hortonworks.com>
Closes #15545 from jerryshao/SPARK-17999.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions