You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Piotr Kołaczkowski (JIRA)" <ji...@apache.org> on 2012/08/20 11:13:37 UTC

[jira] [Comment Edited] (CASSANDRA-4558) Configurable transport in CF RecordReader / RecordWriter

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

Piotr Kołaczkowski edited comment on CASSANDRA-4558 at 8/20/12 8:11 PM:
------------------------------------------------------------------------

I attach a patch enabling to set transport factory class in hadoop job configuration. Added new properties "cassandra.input.transport.factory.class" and "cassandra.output.transport.factory.class". TFramedTransportFactory is used by default if properties are not set, so old behaviour is preserved. The modified code has been tested using PIG demo in DSE.
                
      was (Author: pkolaczk):
    Patch enabling to set transport factory class in hadoop job configuration. Added new properties "cassandra.input.transport.factory.class" and "cassandra.output.transport.factory.class". TFramedTransportFactory is used by default if properties are not set, so old behaviour is preserved.
                  
> Configurable transport in CF RecordReader / RecordWriter
> --------------------------------------------------------
>
>                 Key: CASSANDRA-4558
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4558
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Hadoop
>            Reporter: Piotr Kołaczkowski
>         Attachments: configurable_transport.patch
>
>
> Currently RecordReaders and RecordWriters use hardcoded TFramedTransport. In order to use other transports, e.g. SSL transport, allow for setting custom transport class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira