Skip to content

Conversation

@jerryshao
Copy link
Contributor

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.

@SparkQA
Copy link

SparkQA commented Oct 19, 2016

Test build #67163 has finished for PR 15545 at commit 1d8622f.

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

@jerryshao
Copy link
Contributor Author

@zsxwing , would you mind taking a look at this PR? Thanks a lot.

@zsxwing
Copy link
Member

zsxwing commented Oct 20, 2016

LGTM. Thanks! Merging to master and 2.0.

asfgit pushed a commit that referenced this pull request Oct 20, 2016
## 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 <[email protected]>

Closes #15545 from jerryshao/SPARK-17999.

(cherry picked from commit 947f4f2)
Signed-off-by: Shixiong Zhu <[email protected]>
@asfgit asfgit closed this in 947f4f2 Oct 20, 2016
robert3005 pushed a commit to palantir/spark that referenced this pull request Nov 1, 2016
## 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 <[email protected]>

Closes apache#15545 from jerryshao/SPARK-17999.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## 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 <[email protected]>

Closes apache#15545 from jerryshao/SPARK-17999.
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