cassandra-loader icon indicating copy to clipboard operation
cassandra-loader copied to clipboard

com.datastax.driver.core.exceptions.AuthenticationException

Open VincenzoGG opened this issue 7 years ago • 3 comments

com.datastax.driver.core.exceptions.AuthenticationException

root@sample:~/Desktop# time ./cassandra-loader -f /media/sf_Downloads/NomeFile.csv -host hostname.domain.com -schema "nomeSchema.NomeTable(COL1, COL2, COL3, COL4, COL5, COL6,COL7)" -user USERNAME -pw PWD -port 9042 -queryTimeout 200 -dateFormat yyyy-MM-dd'T'hh:mm:ss [Ljava.lang.StackTraceElement;@4e096385 com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host hostname.domain.com/10.xxx.xx.x:9042: Failed to login. Please re-try. at com.datastax.driver.core.Connection$8.apply(Connection.java:390) at com.datastax.driver.core.Connection$8.apply(Connection.java:359) at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442) at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433) at com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:817) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:753) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:613) at com.datastax.driver.core.Connection$Future.onSet(Connection.java:1294) at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1075) at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:998) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:643) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:566) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:480) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) at java.lang.Thread.run(Thread.java:748)

real 0m3.324s user 0m2.120s sys 0m0.923s

Via cqlsh I not have a error and login is ok.

Cassandra is configurated in Cluster datacenter in Cloud with LDAP autenticator.

Please can I you help me?

VincenzoGG avatar Jan 15 '18 08:01 VincenzoGG

nobody can help me? Thank you

VincenzoGG avatar Jan 29 '18 15:01 VincenzoGG

Did you find a solution to this problem yet? I m stuck with same error.

mohitdl avatar Jul 19 '18 07:07 mohitdl

Anybody got its solution?

Abhay22 avatar Jun 14 '19 15:06 Abhay22