Skip to content

Conversation

@pwendell
Copy link
Contributor

This seems strictly better, and I think it's justified only the grounds of
clean-up. It might also fix issues with path conversions, but I haven't
yet isolated any instance of that happening.

/cc @srowen @tdas

This seems strictly better, and I think it's justified only the grounds of
clean-up. It might also fix issues with path conversions, but I haven't
yet isolated any instance of that happening.
@pwendell pwendell changed the title SPARK-1623: Use File objects instead of string's in HTTPBroadcast SPARK-1623: Use File objects instead of String's in HTTPBroadcast May 12, 2014
@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@vanzin
Copy link
Contributor

vanzin commented May 12, 2014

This looks better just from the fact that it isn't relying on toString(); it probably doesn't change the functionality, though, since from the rest of the code in that file, it seems all these files are being created with absolute paths.

@srowen
Copy link
Member

srowen commented May 12, 2014

Agree, if the paths were all absolute to begin with, this is a more robust way of doing the same thing. I don't know if they were all absolute in fact (in which case the original code wouldn't quite work); it is a good bet. Either way +1

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14912/

@pwendell
Copy link
Contributor Author

Okay cool, this is just a minor improvement.

asfgit pushed a commit that referenced this pull request May 13, 2014
This seems strictly better, and I think it's justified only the grounds of
clean-up. It might also fix issues with path conversions, but I haven't
yet isolated any instance of that happening.

/cc @srowen @tdas

Author: Patrick Wendell <[email protected]>

Closes #749 from pwendell/broadcast-cleanup and squashes the following commits:

d6d54f2 [Patrick Wendell] SPARK-1623: Use File objects instead of string's in HTTPBroadcast
(cherry picked from commit 925d8b2)

Signed-off-by: Patrick Wendell <[email protected]>
@asfgit asfgit closed this in 925d8b2 May 13, 2014
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
This seems strictly better, and I think it's justified only the grounds of
clean-up. It might also fix issues with path conversions, but I haven't
yet isolated any instance of that happening.

/cc @srowen @tdas

Author: Patrick Wendell <[email protected]>

Closes apache#749 from pwendell/broadcast-cleanup and squashes the following commits:

d6d54f2 [Patrick Wendell] SPARK-1623: Use File objects instead of string's in HTTPBroadcast
turboFei pushed a commit to turboFei/spark that referenced this pull request Nov 6, 2025
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.

4 participants