Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ky 945, sync from apache spark #401
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
Uh oh!
There was an error while loading. Please reload this page.
Ky 945, sync from apache spark #401
Changes from 1 commit
fb41b90b8b6f88e852a3c5625c457c3e41138ec106ee142c0fd14c308e57cfe3c35c38c352398a004fb6a92ed12d6b5c39866e6836003f7ceee08d791f2a9ed78ae65539970059bd127bcf662e0ba7767b3500cec41b543463e130f3fdc8dc9700c9db5fe1d4e48ab481d34b4e0ef75ab82a65332624a76f94a88f5474b5b52570a52395a7cf311dabd2e15ca91c0d8ff792c4d2b4abfacfe00324369bdf3c14c51d45ac720be38f519a6fa5a22ad8e139042544a035975baa6dcb2bad31fa680ee91028891e8733a53e8cd56aabe21a727d58af5539ad6a068715cf98accb949e89876844beff8afe6b2363a5bd95acf41a41cebe06e5e2aa657b0a60867ddb1e56bdbc789f27b26b0ca6e8f535d4ab0e4e2198c80b41dbda7067053c98d818c468bfd47c5d84c53cb81ad2a63e01a01eeb5e9c5465d296953e0cd40b540c387856d1523a2f8e19bcc42759cf1a1e2ef87ad51e934d57763c27c6ae88cfbd86d3507802bbc33950e5fe864ad2cbf6e70ec5ede48023a1c89ae772955688ae868cccfbc17a27f0212bbd9bfa151a0c8eef6e8e304be4bcdfe8bc50043de031a6e51146da3f99be09c2f8b37d1ba37d2e915167d5aa9ca5113d24c7d5e46885926ad993983d81058ffb3f06d49a31491e1edf001d98cabf1bf051073b589d0d5ebe5b8829b38d3402ca598e3a91937a187127ca66c0b41e9943b00a56129ca4401e641821dd6a90a1cf9b5eb1a4329d2ed0498e2e74ce639650d951640d88bfa3c90b51ca7c086e8177508d6f404f31f49157b18a9e99bd4c01c47918c2223f541d1d8dfbf7dd437c04778af05f31fe1File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
…ssed to addFile or addJar ### What changes were proposed in this pull request? This PR fixes an issue that `addFile` and `addJar` further encode even though a URI form string is passed. For example, the following operation will throw exception even though the file exists. ``` sc.addFile("file:/foo/test%20file.txt") ``` Another case is `--files` and `--jars` option when we submit an application. ``` bin/spark-shell --files "/foo/test file.txt" ``` The path above is transformed to URI form [here](https://github.com/apache/spark/blob/ecf4811764f1ef91954c865a864e0bf6691f99a6/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L400) and passed to `addFile` so the same issue happens. ### Why are the changes needed? This is a bug. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? New test. Closes apache#31718 from sarutak/fix-uri-encode-double. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Kousuke Saruta <[email protected]> (cherry picked from commit 0734101) Signed-off-by: Kousuke Saruta <[email protected]>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing