cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Lewandowski (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-7221) CqlRecordReader does not work with Password authentication
Date Tue, 13 May 2014 17:40:16 GMT
Jacek Lewandowski created CASSANDRA-7221:

             Summary: CqlRecordReader does not work with Password authentication
                 Key: CASSANDRA-7221
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
            Reporter: Jacek Lewandowski

{{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

View raw message