-
Notifications
You must be signed in to change notification settings - Fork 28.9k
SPARK-1623: Use File objects instead of String's in HTTPBroadcast #749
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
Conversation
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.
|
Merged build triggered. |
|
Merged build started. |
|
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. |
|
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 |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
|
Okay cool, this is just a minor improvement. |
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]>
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
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