You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/05/15 01:12:26 UTC

[jira] [Resolved] (CASSANDRA-7221) CqlRecordReader does not work with Password authentication

     [ https://issues.apache.org/jira/browse/CASSANDRA-7221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-7221.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.8
         Reviewer: Alex Liu  (was: Piotr Kołaczkowski)
         Assignee: Jacek Lewandowski

Committed.

> CqlRecordReader does not work with Password authentication
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-7221
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7221
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>             Fix For: 2.0.8
>
>         Attachments: CASSANDRA-7221.txt
>
>
> {{CqlRecordReader}} initialises a cluster with:
> {{cluster = CqlConfigHelper.getInputCluster(location, conf);}}
> {{CqlConfigHelper}} gets class name for auth provider and then tries to initialise it without any parameter. {{PlainTextAuthProvider}} does not have no-args constructor, so it fails in this case. There is no other way to initialise CqlRecordReader with password authentication. 
> One solution which can be considered is to modify the method which instantiate auth provider, so that if it detects PlainTextAuthProvider, it will retrieve additional parameters to pass to the constructor. Or, it can be done more generic.



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