cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8486) Can't authenticate using CqlRecordReader
Date Mon, 15 Dec 2014 20:59:14 GMT

    [ 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)

Mime
View raw message