-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-1371] fix computePreferredLocations signature to not depend on underlying implementation #302
Conversation
Merged build triggered. |
Jenkins, this is ok to test |
Merged build started. |
Merged build finished. All automated tests passed. |
All automated tests passed. |
@@ -164,7 +164,7 @@ object InputFormatInfo { | |||
|
|||
PS: I know the wording here is weird, hopefully it makes some sense ! | |||
*/ | |||
def computePreferredLocations(formats: Seq[InputFormatInfo]): HashMap[String, HashSet[SplitInfo]] | |||
def computePreferredLocations(formats: Seq[InputFormatInfo]): Map[String, Set[SplitInfo]] | |||
= { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: now that there's space in L167, move = {
up one line
What is the motivation behind this change? |
Will make the changes, thx for review @andrewor14 |
Merged build triggered. |
Merged build started. |
Merged build finished. All automated tests passed. |
All automated tests passed. |
Looks good, thanks Mridul. |
… underlying implementation Change to Map and Set - not mutable HashMap and HashSet Author: Mridul Muralidharan <[email protected]> Closes apache#302 from mridulm/master and squashes the following commits: df747af [Mridul Muralidharan] Address review comments 17e2907 [Mridul Muralidharan] fix computePreferredLocations signature to not depend on underlying implementation
Fix huaweicloud open service broker test error
Change to Map and Set - not mutable HashMap and HashSet