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

Alex Liu commented on CASSANDRA-6927:
-------------------------------------

@paul pak The default use case is for a single  output  and the format of 
Hadoop properties is not specific to a columnfamily by default. Though the 
solution is not perfect, it does perceive the default format for single output. 
By default, you don't need set cassandra.columnfamily.multipleoutputs.

Some validation checking could be added to getColumnFamilySchema(Configuration 
conf, String columnFamily) and  getColumnFamilySchema(Configuration conf),  so 
if  user sets the wrong method of 
CqlConfigHelper.setColumnFamilySchema(Configuration conf, String columnFamily) 
or CqlConfigHelper.setColumnFamilySchema(Configuration conf) , an exception 
could be thrown.

Other outputformats haven't  support MultipleOutpus yet, this is kind of new. 
Either solution works,  adding cassandra.columnfamily.multipleoutputs just sync 
default property format with other output formats.




> Create a CQL3 based bulk OutputFormat
> -------------------------------------
>
>                 Key: CASSANDRA-6927
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6927
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Hadoop
>            Reporter: Paul Pak
>            Priority: Minor
>              Labels: cql3, hadoop
>         Attachments: 6927-2.0-branch-v2.txt, trunk-6927-v3.txt, trunk-6927.txt
>
>
> This is the CQL compatible version of BulkOutputFormat.  CqlOutputFormat 
> exists, but doesn't write SSTables directly, similar to 
> ColumnFamilyOutputFormat for thrift.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to