You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jason Kristain (JIRA)" <ji...@apache.org> on 2015/10/23 04:46:27 UTC

[jira] [Created] (USERGRID-1060) unable to run 2.1 or 2.2

Jason Kristain created USERGRID-1060:
----------------------------------------

             Summary: unable to run 2.1 or 2.2
                 Key: USERGRID-1060
                 URL: https://issues.apache.org/jira/browse/USERGRID-1060
             Project: Usergrid
          Issue Type: Story
         Environment: have create a VM on VMware that has 32GB ram and 8 vCPU , Ubuntu 14.04 , JDK 1.8 , Ive installed cassandra and elastic search  on same host . Tomcat 7
            Reporter: Jason Kristain


I created a custom properties file following the read me and Ive had to add one extra value the usergrid_cluster name, now I'm able to use the AWS deploy to create a cluster on AWS but that sets up lots of servers and I wanted to run a dev version on our office . So I install all requirement which are up and running .
I then upload the ROOT.war to the server and it won't deploy . The status page (/status url) say the system is connected to cassandra. but the I can not run database/setup I keep getting a error. Ive included what keeps getting printed to the log's.


me.prettyprint.hector.api.exceptions.HectorTransportException: org.apache.thrift.transport.TTransportException
	at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:39)
	at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:260)
	at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecuteOperation(ExecutingKeyspace.java:113)
	at me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:243)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.writeLock(HLockManagerImpl.java:256)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.writeLock(HLockManagerImpl.java:244)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.acquire(HLockManagerImpl.java:84)
	at org.apache.usergrid.locking.cassandra.HectorLockImpl.tryLock(HectorLockImpl.java:54)
	at org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:205)
	at org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:412)
	at org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:168)
	at org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:118)
	at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
	at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	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: org.apache.thrift.transport.TTransportException
	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
	at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
	at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
	at org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:973)
	at org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:959)
	at me.prettyprint.cassandra.model.MutatorImpl$3.execute(MutatorImpl.java:246)
	at me.prettyprint.cassandra.model.MutatorImpl$3.execute(MutatorImpl.java:243)
	at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
	at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
	... 19 more
2015-10-23 12:37:58 INFO cassandra.connection.HConnectionManager.releaseClient(404)<JobSchedulerService RUNNING>- Client CassandraClient<127.0.0.1:9160-1207> released to inactive or dead pool. Closing.
2015-10-23 12:37:58 ERROR batch.service.JobSchedulerService.runOneIteration(134)<JobSchedulerService RUNNING>- Scheduler run failed, error is
me.prettyprint.hector.api.exceptions.HectorException: All host pools marked down. Retry burden pushed out to client.
	at me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPolicy(HConnectionManager.java:390)
	at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:244)
	at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecuteOperation(ExecutingKeyspace.java:113)
	at me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:243)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.writeLock(HLockManagerImpl.java:256)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.writeLock(HLockManagerImpl.java:244)
	at me.prettyprint.cassandra.locking.HLockManagerImpl.acquire(HLockManagerImpl.java:84)
	at org.apache.usergrid.locking.cassandra.HectorLockImpl.tryLock(HectorLockImpl.java:54)
	at org.apache.usergrid.mq.cassandra.io.ConsumerTransaction.getResults(ConsumerTransaction.java:205)
	at org.apache.usergrid.mq.cassandra.QueueManagerImpl.getFromQueue(QueueManagerImpl.java:412)
	at org.apache.usergrid.batch.service.SchedulerServiceImpl.getJobs(SchedulerServiceImpl.java:168)
	at org.apache.usergrid.batch.service.JobSchedulerService.runOneIteration(JobSchedulerService.java:118)
	at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
	at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	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)
2015-10-23 12:37:58 INFO cassandra.connection.HConnectionManager.addCassandraHost(109)<Hector.me.prettyprint.cassandra.connection.CassandraHostRetryService-1>- Added host 127.0.0.1(127.0.0.1):9160 to pool



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