You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/04/12 13:01:25 UTC
[GitHub] [spark] LuciferYang opened a new pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
LuciferYang opened a new pull request #32130:
URL: https://github.com/apache/spark/pull/32130
### What changes were proposed in this pull request?
The main change of this pr is extract a `private` method named `tryOrFetchFailedException` to eliminate duplicate code in `BufferReleasingInputStream`.
The patterns of duplicate code as follows:
```
try {
block
} catch {
case e: IOException if detectCorruption =>
IOUtils.closeQuietly(this)
iterator.throwFetchFailedException(blockId, mapIndex, address, e)
}
```
### Why are the changes needed?
Eliminate duplicate code.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Pass the Jenkins or GitHub Action
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817863483
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon closed pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #32130:
URL: https://github.com/apache/spark/pull/32130
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] LuciferYang commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
LuciferYang commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-818383573
@mridulm Jenkins test passed, GA failure seems to be due to a dependency download failure, do we need to rebuild it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817957899
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137216/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817863557
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41796/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-818412386
Merged to master.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817957899
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137216/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817813176
**[Test build #137216 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/137216/testReport)** for PR 32130 at commit [`67bbc29`](https://github.com/apache/spark/commit/67bbc296c4d4fe58f1e4588cff11d7b658631605).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] LuciferYang commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
LuciferYang commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-818449867
thx @HyukjinKwon @mridulm
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817863557
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41796/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817955631
**[Test build #137216 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/137216/testReport)** for PR 32130 at commit [`67bbc29`](https://github.com/apache/spark/commit/67bbc296c4d4fe58f1e4588cff11d7b658631605).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #32130: [SPARK-35029][CORE] Extract `tryOrFetchFailedException` method to eliminate duplicate code in `BufferReleasingInputStream`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32130:
URL: https://github.com/apache/spark/pull/32130#issuecomment-817813176
**[Test build #137216 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/137216/testReport)** for PR 32130 at commit [`67bbc29`](https://github.com/apache/spark/commit/67bbc296c4d4fe58f1e4588cff11d7b658631605).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org