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

Alex Liu commented on CASSANDRA-8486:
-------------------------------------

try set it as     {code}
               ConfigHelper.setInputKeyspaceUserNameAndPassword(conf, username, 
password);
               CqlConfigHelper.setInputNativeAuthProvider(conf, 
PlainTextAuthProvider.class.getName());
{code}


> Can't authenticate using CqlRecordReader
> ----------------------------------------
>
>                 Key: CASSANDRA-8486
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8486
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Cyril Scetbon
>            Assignee: Alex Liu
>
> Using CqlPagingRecordReader, it was possible to use authentification to 
> connect to the cassandra cluster, but now that we only have CqlRecordReader 
> we can't anymore.
> We should put [this 
> code|https://github.com/apache/cassandra/blob/cassandra-2.0.9/src/java/org/apache/cassandra/hadoop/cql3/CqlPagingRecordReader.java#L140-L153]
>   back in CqlRecordReader



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to