cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kołaczkowski (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-4558) Configurable transport in CF RecordReader / RecordWriter
Date Mon, 20 Aug 2012 09:13:37 GMT

    [ 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

       

Mime
View raw message