You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2014/12/15 21:59:14 UTC
[jira] [Commented] (CASSANDRA-8486) Can't authenticate using
CqlRecordReader
[ 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)