Skip to content

Conversation

@10110346
Copy link
Contributor

@10110346 10110346 commented Dec 18, 2018

What changes were proposed in this pull request?

HadoopFileWholeTextReader and HadoopFileLinesReader will be eventually called in FileSourceScanExec.
In fact, locality has been implemented in FileScanRDD, even if we implement it in HadoopFileWholeTextReader and HadoopFileLinesReader, it would be useless.
So I think these TODO can be removed.

How was this patch tested?

N/A

@SparkQA
Copy link

SparkQA commented Dec 18, 2018

Test build #100270 has finished for PR 23339 at commit 57742ce.

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

@srowen
Copy link
Member

srowen commented Dec 18, 2018

CC @ScrapCodes

@ScrapCodes
Copy link
Member

Hi @srowen, to be honest, this comment was originally introduced by @cloud-fan in HadoopFileLinesReader. I have just replicated it, in the HadoopFileWholeTextReader, which is based on HadoopFileLinesReader. And, I do not know if the above claim is true. I can look into it more closely, later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should leave some comment to explain where the locality is decided.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks

@SparkQA
Copy link

SparkQA commented Dec 21, 2018

Test build #100354 has finished for PR 23339 at commit 8b83c24.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@asfgit asfgit closed this in 98ecda3 Dec 21, 2018
holdenk pushed a commit to holdenk/spark that referenced this pull request Jan 5, 2019
## What changes were proposed in this pull request?
`HadoopFileWholeTextReader` and  `HadoopFileLinesReader` will be eventually called in `FileSourceScanExec`.
In fact,  locality has been implemented in `FileScanRDD`,  even if we implement it in `HadoopFileWholeTextReader ` and  `HadoopFileLinesReader`,  it would be useless.
So I think these `TODO` can be removed.

## How was this patch tested?
N/A

Closes apache#23339 from 10110346/noneededtodo.

Authored-by: liuxian <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
`HadoopFileWholeTextReader` and  `HadoopFileLinesReader` will be eventually called in `FileSourceScanExec`.
In fact,  locality has been implemented in `FileScanRDD`,  even if we implement it in `HadoopFileWholeTextReader ` and  `HadoopFileLinesReader`,  it would be useless.
So I think these `TODO` can be removed.

## How was this patch tested?
N/A

Closes apache#23339 from 10110346/noneededtodo.

Authored-by: liuxian <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
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.

5 participants