spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rxin <>
Subject [GitHub] spark pull request: [SPARK-3453] Netty-based BlockTransferService,...
Date Mon, 27 Oct 2014 21:26:18 GMT
Github user rxin commented on a diff in the pull request:
    --- Diff: network/common/src/main/java/org/apache/spark/network/client/
    @@ -15,18 +15,23 @@
      * limitations under the License.
    - * Header describing a block. This is used only in the server pipeline.
    - *
    - * [[BlockServerHandler]] creates this, and [[BlockHeaderEncoder]] encodes it.
    - *
    - * @param blockSize length of the block content, excluding the length itself.
    - *                 If positive, this is the header for a block (not part of the header).
    - *                 If negative, this is the header and content for an error message.
    - * @param blockId block id
    - * @param error some error message from reading the block
    + * General exception caused by a remote exception while fetching a chunk.
    -class BlockHeader(val blockSize: Int, val blockId: String, val error: Option[String]
= None)
    +public class ChunkFetchFailureException extends RuntimeException {
    --- End diff --
    we should probably pass the chunkIndex into the exception message, either override getMessage,
or just put it as part of the message.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message