OperationTimedOutException during startup

I tried to run upsource upsource-2017.2.2398 (the latest release) on Linux and got error: 
[Upsource Cluster Initialize Service Error] Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: [/127.0.0.1:10020] Timed out waiting for server response
Is there a way to fix this? I attach full stacktrace below.

Thanks in advance.

Full stacktrace:

[Upsource Cluster Initialize Service Error] [2017-11-07 08:28:51,428] WARN SMTPSettingsUpdate-1 ettings.api.StaticMailSettings - This mail service is disabled
[Upsource Cluster Initialize Service Error] [2017-11-07 08:28:51,429] WARN SMTPSettingsUpdate-1 ettings.api.StaticMailSettings - From address is empty
[Upsource Cluster Initialize Service Error] [2017-11-07 08:31:10,926] ERROR APP-WRAPPER] Proxy 1 ns.upsource.ClusterInitService -
[Upsource Cluster Initialize Service Error] com.jetbrains.upsource.UpsourceException: java.util.concurrent.ExecutionException: com.jetbrains.upsource.UpsourceException: An error occurred during execution of 'Regular statement (NOT idempotent, null):
[Upsource Cluster Initialize Service Error] CREATE TABLE upsourcesystem.metainfo(
[Upsource Cluster Initialize Service Error] rowid blob,
[Upsource Cluster Initialize Service Error] columnid blob,
[Upsource Cluster Initialize Service Error] value blob,
[Upsource Cluster Initialize Service Error] PRIMARY KEY(rowid, columnid))
[Upsource Cluster Initialize Service Error] WITH caching = {'keys' : 'all', 'rows_per_partition' : 'all'} AND compaction = {'class' : 'LeveledCompactionStrategy'} AND gc_grace_seconds = 1.'
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.lambda$checkKeyspace$7(CqlDatabase.java:383)
[Upsource Cluster Initialize Service Error] at java.util.ArrayList.forEach(ArrayList.java:1249)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.checkKeyspace(CqlDatabase.java:377)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.init(CqlDatabase.java:320)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.DatastaxCqlCluster.lambda$getOrCreateDatabase$4(DatastaxCqlCluster.java:282)
[Upsource Cluster Initialize Service Error] at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.DatastaxCqlCluster.getOrCreateDatabase(DatastaxCqlCluster.java:272)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.DatastaxCqlCluster.getDatabase(DatastaxCqlCluster.java:251)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.backend.cli.FirstTimeInit.initNewDatabase(FirstTimeInit.java:40)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.backend.cli.FirstTimeInit.run(FirstTimeInit.java:83)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.backend.server.facade.UpsourceApplicationEnvironment.(UpsourceApplicationEnvironment.java:111)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.ClusterInitService.a(ClusterInitService.java:43)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.lifetimes.Lifetime.a(Lifetime.java:123)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.lifetimes.Lifetime.nested(Lifetime.java:115)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.lifetimes.Lifetime.nested(Lifetime.java:123)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.ClusterInitService.start(ClusterInitService.java:40)
[Upsource Cluster Initialize Service Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99)
[Upsource Cluster Initialize Service Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97)
[Upsource Cluster Initialize Service Error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[Upsource Cluster Initialize Service Error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[Upsource Cluster Initialize Service Error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[Upsource Cluster Initialize Service Error] at java.lang.Thread.run(Thread.java:748)
[Upsource Cluster Initialize Service Error] Caused by: java.util.concurrent.ExecutionException: com.jetbrains.upsource.UpsourceException: An error occurred during execution of 'Regular statement (NOT idempotent, null):
[Upsource Cluster Initialize Service Error] CREATE TABLE upsourcesystem.metainfo(
[Upsource Cluster Initialize Service Error] rowid blob,
[Upsource Cluster Initialize Service Error] columnid blob,
[Upsource Cluster Initialize Service Error] value blob,
[Upsource Cluster Initialize Service Error] PRIMARY KEY(rowid, columnid))
[Upsource Cluster Initialize Service Error] WITH caching = {'keys' : 'all', 'rows_per_partition' : 'all'} AND compaction = {'class' : 'LeveledCompactionStrategy'} AND gc_grace_seconds = 1.'
[Upsource Cluster Initialize Service Error] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[Upsource Cluster Initialize Service Error] at java.util.concurrent.FutureTask.get(FutureTask.java:192)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.lambda$checkKeyspace$7(CqlDatabase.java:379)
[Upsource Cluster Initialize Service Error] ... 21 more
[Upsource Cluster Initialize Service Error] Caused by: com.jetbrains.upsource.UpsourceException: An error occurred during execution of 'Regular statement (NOT idempotent, null):
[Upsource Cluster Initialize Service Error] CREATE TABLE upsourcesystem.metainfo(
[Upsource Cluster Initialize Service Error] rowid blob,
[Upsource Cluster Initialize Service Error] columnid blob,
[Upsource Cluster Initialize Service Error] value blob,
[Upsource Cluster Initialize Service Error] PRIMARY KEY(rowid, columnid))
[Upsource Cluster Initialize Service Error] WITH caching = {'keys' : 'all', 'rows_per_partition' : 'all'} AND compaction = {'class' : 'LeveledCompactionStrategy'} AND gc_grace_seconds = 1.'
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.execute(CqlDatabase.java:416)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.execute(CqlDatabase.java:428)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.lambda$checkKeyspace$5(CqlDatabase.java:339)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlTableCreator.createTable(CqlTableCreator.java:142)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.lambda$checkKeyspace$6(CqlDatabase.java:354)
[Upsource Cluster Initialize Service Error] ... 4 more
[Upsource Cluster Initialize Service Error] Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: [/127.0.0.1:10020] Timed out waiting for server response
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
[Upsource Cluster Initialize Service Error] at com.jetbrains.upsource.database.datastax.CqlDatabase.execute(CqlDatabase.java:405)
[Upsource Cluster Initialize Service Error] ... 8 more
[Upsource Cluster Initialize Service Error] Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: [/127.0.0.1:10020] Timed out waiting for server response
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:790)
[Upsource Cluster Initialize Service Error] at com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1382)
[Upsource Cluster Initialize Service Error] at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
[Upsource Cluster Initialize Service Error] at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
[Upsource Cluster Initialize Service Error] at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
[Upsource Cluster Initialize Service Error] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
[Upsource Cluster Initialize Service Error] ... 1 more
[Upsource Cluster Initialize Service Error] java.util.concurrent.ExecutionException: com.jetbrains.upsource.UpsourceException: An error occurred during execution of 'Regular statement (NOT idempotent, null):
[Upsource Cluster Initialize Service Error] CREATE TABLE upsourcesystem.metainfo(
[Upsource Cluster Initialize Service Error] rowid blob,
[Upsource Cluster Initialize Service Error] columnid blob,
[Upsource Cluster Initialize Service Error] value blob,
[Upsource Cluster Initialize Service Error] PRIMARY KEY(rowid, columnid))
[Upsource Cluster Initialize Service Error] WITH caching = {'keys' : 'all', 'rows_per_partition' : 'all'} AND compaction = {'class' : 'LeveledCompactionStrategy'} AND gc_grace_seconds = 1.'
[Upsource Cluster Initialize Service Error] log4j:WARN No appenders could be found for logger (com.jetbrains.upsource.ClusterInitService).
[Upsource Cluster Initialize Service Error] log4j:WARN Please initialize the log4j system properly.
[Upsource Cluster Initialize Service Error] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Upsource Cluster Initialize Service failed to start

1 comment
Comment actions Permalink

Hello,

Database got corrupted during initialization. There could be various reasons for that. Try reinstalling Upsource from scratch.

0

Please sign in to leave a comment.