cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo D. Salgado" <pdsalg...@gmail.com>
Subject Re: Authentication
Date Wed, 20 Oct 2010 15:33:15 GMT
Hello Nate,

Thank you very much for the reply. Next time I will send to
hector-users@googlegroups.com
Regards,

Pablo D. Salgado

2010/10/20 Nate McCall <nate@riptano.com>

> See this issue for background:
>
> http://groups.google.com/group/hector-users/browse_thread/thread/b4c98bbd382cbe56
>
> Authentication will be picked up again shortly given the pending 0.7.0
> release.
>
> Also, please feel free to send Hector-specific questions to:
> hector-users@googlegroups.com
>
>
> On Wed, Oct 20, 2010 at 9:44 AM, Pablo D. Salgado <pdsalgado@gmail.com>
> wrote:
> > Hello everybody,
> >
> > I'm working with Hector 0.6.0_12 and Cassandra 0.6.6 with
> > SimpleAuthenticator.
> > How could I login to Cassandra using Hector? - With the standard
> operation
> > (without sending login information to Hector) I'm getting this exception:
> >
> > INFO  me.prettyprint.cassandra.service.CassandraClientPoolImpl  -
> Creating a
> > CassandraClientPool
> >  Exception in thread "main" InvalidRequestException(why:Login is required
> > before any other API calls)
> >     at
> >
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:4661)
> >     at
> >
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:382)
> >     at
> >
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:356)
> >     at
> >
> me.prettyprint.cassandra.service.KeyspaceImpl$8.execute(KeyspaceImpl.java:263)
> >     at
> >
> me.prettyprint.cassandra.service.KeyspaceImpl$8.execute(KeyspaceImpl.java:259)
> >     at
> >
> me.prettyprint.cassandra.service.Operation.executeAndSetResult(FailoverOperator.java:354)
> >     at
> >
> me.prettyprint.cassandra.service.FailoverOperator.operateSingleIteration(FailoverOperator.java:171)
> >     at
> >
> me.prettyprint.cassandra.service.FailoverOperator.operate(FailoverOperator.java:84)
> >     at
> >
> me.prettyprint.cassandra.service.KeyspaceImpl.operateWithFailover(KeyspaceImpl.java:151)
> >     at
> >
> me.prettyprint.cassandra.service.KeyspaceImpl.getSlice(KeyspaceImpl.java:276)
> >
> > How could I login to Cassandra using Hector?
> >
> > Thanks in advance,
> >
> > Pablo D. Salgado
> >
> >
>

Mime
View raw message