You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/10 09:22:02 UTC

[jira] [Commented] (FLINK-8401) Allow subclass to override write-failure behavior in CassandraOutputFormat

    [ https://issues.apache.org/jira/browse/FLINK-8401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319947#comment-16319947 ] 

ASF GitHub Bot commented on FLINK-8401:
---------------------------------------

GitHub user suez1224 opened a pull request:

    https://github.com/apache/flink/pull/5274

    [FLINK-8401][Cassandra Connector]Refactor CassandraOutputFormat to allow subclass to customize the fai…

    ## What is the purpose of the change
    
    Refactor CassandraOutputFormat to allow subclass to customize the failure handling logic.
    
    
    ## Brief change log
      - Added to protected methods for handling cassandra write result, these allow subclass to override them to customize.
    
    
    ## Verifying this change
    
    This change is already covered by existing tests.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: ( no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: ( no)
      - The S3 file system connector: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
      - If yes, how is the feature documented? (not applicable)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/suez1224/flink flink-8401

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5274.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5274
    
----
commit 8f6ae5636e549d7fe2f0788591acc8880c01af45
Author: Shuyi Chen <sh...@...>
Date:   2018-01-10T09:17:55Z

    Refactor CassandraOutputFormat to allow subclass to customize the failure handling logic

----


> Allow subclass to override write-failure behavior in CassandraOutputFormat 
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-8401
>                 URL: https://issues.apache.org/jira/browse/FLINK-8401
>             Project: Flink
>          Issue Type: Improvement
>          Components: Cassandra Connector
>            Reporter: Shuyi Chen
>            Assignee: Shuyi Chen
>
> Currently it will throw an exception and fail the entire job, we would like to keep the current default behavior, but refactor the code to allow subclass to override and customize the failure handling.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)