[SPARK-38706][CORE] Use URI in FallbackStorage.copy#36017
Closed
williamhyun wants to merge 1 commit intoapache:masterfrom
williamhyun:fallbackstorage
Closed
[SPARK-38706][CORE] Use URI in FallbackStorage.copy#36017williamhyun wants to merge 1 commit intoapache:masterfrom williamhyun:fallbackstorage
FallbackStorage.copy#36017williamhyun wants to merge 1 commit intoapache:masterfrom
williamhyun:fallbackstorage
Conversation
dongjoon-hyun
approved these changes
Mar 31, 2022
Member
There was a problem hiding this comment.
+1, LGTM. Thank you for catching this, @williamhyun .
I also verified this before and after.
22/03/30 19:43:06 ERROR BlockManagerDecommissioner: Error occurred during migrating migrate_shuffle_0_0
org.apache.hadoop.fs.PathIOException: `Cannot get relative path for URI:file://
FallbackStorage.copy
Member
|
I also verified that this is the last instance because RocksDBFileManager is already using |
Member
|
All tests passed. Merged to master/3.3. |
dongjoon-hyun
pushed a commit
that referenced
this pull request
Mar 31, 2022
### What changes were proposed in this pull request? This PR aims to use URI in `FallbackStorage.copy` method. ### Why are the changes needed? Like the case of SPARK-38652, the current fallback feature is broken with `S3A` due to Hadoop 3.3.2's `org.apache.hadoop.fs.PathIOException`. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually start one master and executor and decommission the executor. ``` spark.decommission.enabled true spark.storage.decommission.enabled true spark.storage.decommission.shuffleBlocks.enabled true spark.storage.decommission.fallbackStorage.path s3a://spark/storage/ ``` ``` $ curl -v -X POST -d "host=hostname" http://hostname:8080/workers/kill/ ``` Closes #36017 from williamhyun/fallbackstorage. Authored-by: William Hyun <william@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 60d0921) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
kazuyukitanimura
pushed a commit
to kazuyukitanimura/spark
that referenced
this pull request
Aug 10, 2022
### What changes were proposed in this pull request? This PR aims to use URI in `FallbackStorage.copy` method. ### Why are the changes needed? Like the case of SPARK-38652, the current fallback feature is broken with `S3A` due to Hadoop 3.3.2's `org.apache.hadoop.fs.PathIOException`. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually start one master and executor and decommission the executor. ``` spark.decommission.enabled true spark.storage.decommission.enabled true spark.storage.decommission.shuffleBlocks.enabled true spark.storage.decommission.fallbackStorage.path s3a://spark/storage/ ``` ``` $ curl -v -X POST -d "host=hostname" http://hostname:8080/workers/kill/ ``` Closes apache#36017 from williamhyun/fallbackstorage. Authored-by: William Hyun <william@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 60d0921) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 48839f6) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit ad442c4) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes were proposed in this pull request?
This PR aims to use URI in
FallbackStorage.copymethod.Why are the changes needed?
Like the case of SPARK-38652, the current fallback feature is broken with
S3Adue to Hadoop 3.3.2'sorg.apache.hadoop.fs.PathIOException.Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually start one master and executor and decommission the executor.