[ 
https://issues.apache.org/jira/browse/USERGRID-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663341#comment-15663341
 ] 

Youcef HILEM edited comment on USERGRID-1316 at 11/14/16 10:02 AM:
-------------------------------------------------------------------

Thank you.
I tried all the combinations.

The only one that works is :
- 2.2.0-SNAPSHOT (https://github.com/apache/usergrid/tree/master/stack)
- apache-cassandra-2.1.9
- elasticsearch-1.4.4
- apache-tomcat-8.5.5

Even with that there are still some problems :

(1) curl -X PUT http://localhost:8080/system/database/setup -u superuser:test

{"error":"runtime","timestamp":1479040718227,"duration":98,"error_description":"Error
 migrating Core Persistence","exception":"java.lang.RuntimeException"}

(2) curl -X PUT http://localhost:8080/system/database/bootstrap -u 
superuser:test

{"error":"hector_transport","timestamp":1479040826319,"duration":2,"error_description":"org.apache.thrift.transport.TTransportException","exception":"me.prettyprint.hector.api.exceptions.HectorTransportException"}

(3) curl -X GET http://localhost:8080/system/superuser/setup    -u 
superuser:test

{
  "action" : "superuser setup",
  "status" : "ok",
  "timestamp" : 1479040831272,
  "duration" : 2560
}

...........................................................................
Stack traces

13:32:59,588  INFO ShutdownListener:54 - ShutdownListener initialized
13:32:59,744 ERROR QueueListener:130 - QueueListener: threads interrupted
com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured 
columnfamily queues
        at 
com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:50)
        at 
com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
        at 
com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:217)
        at 
com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:55)
        at 
org.apache.usergrid.persistence.qakka.serialization.queues.impl.QueueSerializationImpl.getQueue(QueueSerializationImpl.java:112)
        at 
org.apache.usergrid.persistence.qakka.core.impl.QueueManagerImpl.getQueueConfig(QueueManagerImpl.java:124)
        at 
org.apache.usergrid.persistence.queue.impl.QakkaQueueManager.createQueueIfNecessary(QakkaQueueManager.java:66)
        at 
org.apache.usergrid.persistence.queue.impl.QakkaQueueManager.getMessages(QakkaQueueManager.java:117)
        at 
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:182)
        at 
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:44)
        at 
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:124)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: 
unconfigured columnfamily queues
        at 
com.datastax.driver.core.Responses$Error.asException(Responses.java:114)
        at 
com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:151)
        at 
com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:171)
        at 
com.datastax.driver.core.RequestHandler.access$2500(RequestHandler.java:44)
        at 
com.datastax.driver.core.RequestHandler$SpeculativeExecution.setFinalResult(RequestHandler.java:797)
        at 
com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:613)
        at 
com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1013)
        at 
com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:936)
        at 
com.datastax.shaded.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
        at 
com.datastax.shaded.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
        at 
com.datastax.shaded.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
        at 
com.datastax.shaded.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        ... 1 more

...........................................................................

13:38:38,011  WARN Slf4jConnectionPoolMonitorImpl:31 - TransportException: 
[host=localhost(127.0.0.1):9160, latency=2574(2574), 
attempts=1]org.apache.thrift.transport.TTransportException
13:38:38,012  INFO Slf4jConnectionPoolMonitorImpl:39 - TransportException: 
[host=localhost(127.0.0.1):9160, latency=2574(2574), 
attempts=1]org.apache.thrift.transport.TTransportException
13:38:38,035  INFO ThriftKeyspaceImpl:892 - 
CfDef(keyspace:Usergrid_Applications, name:Entity_Log_V2, column_type:Standard, 
comparator_type:ReversedType(UUIDType), read_repair_chance:0.1, 
default_validation_class:IntegerType, key_validation_class:BytesType, 
compaction_strategy:LeveledCompactionStrategy, 
compaction_strategy_options:{sstable_size_in_mb=512}, caching:KEYS_ONLY, 
speculative_retry:NONE, cells_per_row_to_cache:100)
13:38:38,037  WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=3(3), 
attempts=1]InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
13:38:38,038 ERROR MigrationManagerImpl:117 - Unable to perform migration
com.netflix.astyanax.connectionpool.exceptions.BadRequestException: 
BadRequestException: [host=localhost(127.0.0.1):9160, latency=3(3), 
attempts=1]InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
        at 
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:65)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:28)
        at 
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:153)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.executeDdlOperation(ThriftKeyspaceImpl.java:535)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.internalCreateColumnFamily(ThriftKeyspaceImpl.java:887)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.createColumnFamily(ThriftKeyspaceImpl.java:677)
        at 
org.apache.usergrid.persistence.core.migration.schema.MigrationManagerImpl.testAndCreateColumnFamilyDef(MigrationManagerImpl.java:137)
        at 
org.apache.usergrid.persistence.core.migration.schema.MigrationManagerImpl.migrate(MigrationManagerImpl.java:99)
        at 
org.apache.usergrid.corepersistence.CpSetup.setupSchema(CpSetup.java:144)
        at 
org.apache.usergrid.corepersistence.CpSetup.initSchema(CpSetup.java:84)
        at 
org.apache.usergrid.corepersistence.CpEntityManagerFactory.setup(CpEntityManagerFactory.java:714)
        at 
org.apache.usergrid.rest.system.DatabaseResource.runDatabaseSetup(DatabaseResource.java:70)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
        at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
        at 
org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
        at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)
        at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)
        at 
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:460)
        at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:548)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:489)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:426)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
        at 
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
        at 
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
        at 
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
        at 
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
        at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.usergrid.rest.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:94)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result$system_add_column_family_resultStandardScheme.read(Cassandra.java:43019)
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result$system_add_column_family_resultStandardScheme.read(Cassandra.java:42997)
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result.read(Cassandra.java:42931)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
        at 
org.apache.cassandra.thrift.Cassandra$Client.recv_system_add_column_family(Cassandra.java:1522)
        at 
org.apache.cassandra.thrift.Cassandra$Client.system_add_column_family(Cassandra.java:1509)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl$17.internalExecute(ThriftKeyspaceImpl.java:893)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl$17.internalExecute(ThriftKeyspaceImpl.java:888)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:60)
        ... 72 more

...........................................................................

13:52:39,803  WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=0(0), 
attempts=1]InvalidRequestException(why:Keyspace 'Locks' does not exist)



was (Author: yhilem):
Thank you.
I tried all the combinations.

The only one that works is :
- 2.2.0-SNAPSHOT (https://github.com/apache/usergrid/tree/master/stack)
- apache-cassandra-2.1.9
- elasticsearch-1.4.4
- apache-tomcat-8.5.5

Even with that there are still some problems :

(1) curl -X PUT http://localhost:8080/system/database/setup -u superuser:test

{"error":"runtime","timestamp":1479040718227,"duration":98,"error_description":"Error
 migrating Core Persistence","exception":"java.lang.RuntimeException"}

(2) curl -X PUT http://localhost:8080/system/database/bootstrap -u 
superuser:test

{"error":"hector_transport","timestamp":1479040826319,"duration":2,"error_description":"org.apache.thrift.transport.TTransportException","exception":"me.prettyprint.hector.api.exceptions.HectorTransportException"}

(3) curl -X GET http://localhost:8080/system/superuser/setup    -u 
superuser:test

{
  "action" : "superuser setup",
  "status" : "ok",
  "timestamp" : 1479040831272,
  "duration" : 2560
}

...........................................................................
Stack traces

13:32:59,588  INFO ShutdownListener:54 - ShutdownListener initialized
13:32:59,744 ERROR QueueListener:130 - QueueListener: threads interrupted
com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured 
columnfamily queues
        at 
com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:50)
        at 
com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
        at 
com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:217)
        at 
com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:55)
        at 
org.apache.usergrid.persistence.qakka.serialization.queues.impl.QueueSerializationImpl.getQueue(QueueSerializationImpl.java:112)
        at 
org.apache.usergrid.persistence.qakka.core.impl.QueueManagerImpl.getQueueConfig(QueueManagerImpl.java:124)
        at 
org.apache.usergrid.persistence.queue.impl.QakkaQueueManager.createQueueIfNecessary(QakkaQueueManager.java:66)
        at 
org.apache.usergrid.persistence.queue.impl.QakkaQueueManager.getMessages(QakkaQueueManager.java:117)
        at 
org.apache.usergrid.services.notifications.QueueListener.execute(QueueListener.java:182)
        at 
org.apache.usergrid.services.notifications.QueueListener.access$000(QueueListener.java:44)
        at 
org.apache.usergrid.services.notifications.QueueListener$1.run(QueueListener.java:124)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: 
unconfigured columnfamily queues
        at 
com.datastax.driver.core.Responses$Error.asException(Responses.java:114)
        at 
com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:151)
        at 
com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:171)
        at 
com.datastax.driver.core.RequestHandler.access$2500(RequestHandler.java:44)
        at 
com.datastax.driver.core.RequestHandler$SpeculativeExecution.setFinalResult(RequestHandler.java:797)
        at 
com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:613)
        at 
com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1013)
        at 
com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:936)
        at 
com.datastax.shaded.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
        at 
com.datastax.shaded.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
        at 
com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
        at 
com.datastax.shaded.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
        at 
com.datastax.shaded.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
        at 
com.datastax.shaded.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
        at 
com.datastax.shaded.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        ... 1 more


13:38:38,011  WARN Slf4jConnectionPoolMonitorImpl:31 - TransportException: 
[host=localhost(127.0.0.1):9160, latency=2574(2574), 
attempts=1]org.apache.thrift.transport.TTransportException
13:38:38,012  INFO Slf4jConnectionPoolMonitorImpl:39 - TransportException: 
[host=localhost(127.0.0.1):9160, latency=2574(2574), 
attempts=1]org.apache.thrift.transport.TTransportException
13:38:38,035  INFO ThriftKeyspaceImpl:892 - 
CfDef(keyspace:Usergrid_Applications, name:Entity_Log_V2, column_type:Standard, 
comparator_type:ReversedType(UUIDType), read_repair_chance:0.1, 
default_validation_class:IntegerType, key_validation_class:BytesType, 
compaction_strategy:LeveledCompactionStrategy, 
compaction_strategy_options:{sstable_size_in_mb=512}, caching:KEYS_ONLY, 
speculative_retry:NONE, cells_per_row_to_cache:100)
13:38:38,037  WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=3(3), 
attempts=1]InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
13:38:38,038 ERROR MigrationManagerImpl:117 - Unable to perform migration
com.netflix.astyanax.connectionpool.exceptions.BadRequestException: 
BadRequestException: [host=localhost(127.0.0.1):9160, latency=3(3), 
attempts=1]InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
        at 
com.netflix.astyanax.thrift.ThriftConverter.ToConnectionPoolException(ThriftConverter.java:159)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:65)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:28)
        at 
com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl$ThriftConnection.execute(ThriftSyncConnectionFactoryImpl.java:153)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:119)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.executeDdlOperation(ThriftKeyspaceImpl.java:535)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.internalCreateColumnFamily(ThriftKeyspaceImpl.java:887)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl.createColumnFamily(ThriftKeyspaceImpl.java:677)
        at 
org.apache.usergrid.persistence.core.migration.schema.MigrationManagerImpl.testAndCreateColumnFamilyDef(MigrationManagerImpl.java:137)
        at 
org.apache.usergrid.persistence.core.migration.schema.MigrationManagerImpl.migrate(MigrationManagerImpl.java:99)
        at 
org.apache.usergrid.corepersistence.CpSetup.setupSchema(CpSetup.java:144)
        at 
org.apache.usergrid.corepersistence.CpSetup.initSchema(CpSetup.java:84)
        at 
org.apache.usergrid.corepersistence.CpEntityManagerFactory.setup(CpEntityManagerFactory.java:714)
        at 
org.apache.usergrid.rest.system.DatabaseResource.runDatabaseSetup(DatabaseResource.java:70)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
        at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
        at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
        at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
        at 
org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
        at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)
        at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)
        at 
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:460)
        at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:548)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:489)
        at 
org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:426)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
        at 
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
        at 
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
        at 
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
        at 
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
        at 
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
        at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.usergrid.rest.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:94)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: InvalidRequestException(why:Cannot add already existing column 
family "Entity_Log_V2" to keyspace "Usergrid_Applications")
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result$system_add_column_family_resultStandardScheme.read(Cassandra.java:43019)
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result$system_add_column_family_resultStandardScheme.read(Cassandra.java:42997)
        at 
org.apache.cassandra.thrift.Cassandra$system_add_column_family_result.read(Cassandra.java:42931)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
        at 
org.apache.cassandra.thrift.Cassandra$Client.recv_system_add_column_family(Cassandra.java:1522)
        at 
org.apache.cassandra.thrift.Cassandra$Client.system_add_column_family(Cassandra.java:1509)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl$17.internalExecute(ThriftKeyspaceImpl.java:893)
        at 
com.netflix.astyanax.thrift.ThriftKeyspaceImpl$17.internalExecute(ThriftKeyspaceImpl.java:888)
        at 
com.netflix.astyanax.thrift.AbstractOperationImpl.execute(AbstractOperationImpl.java:60)
        ... 72 more


13:52:39,803  WARN Slf4jConnectionPoolMonitorImpl:31 - BadRequestException: 
[host=localhost(127.0.0.1):9160, latency=0(0), 
attempts=1]InvalidRequestException(why:Keyspace 'Locks' does not exist)


> Upgrade ElasticSearch to 2.x
> ----------------------------
>
>                 Key: USERGRID-1316
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1316
>             Project: Usergrid
>          Issue Type: Improvement
>          Components: Stack
>            Reporter: Youcef HILEM
>
> Hi Team,
> Usergrid 2.x currently requires ElasticSearch 1.4.x. 
> (http://stackoverflow.com/questions/37074161/usergrid-setup-cassandra-error)
> We have an ElasticSearch cluster with version 2.1.1
> Are there plans an upgrade to a newer version 2.x elasticserach?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to