java.lang.IllegalStateException: connection manager is not live!

GitHub | Danny-Hazelcast | 3 months ago
  1. 0

    GitHub comment 8858#245579774

    GitHub | 3 months ago | Danny-Hazelcast
    java.lang.IllegalStateException: connection manager is not live!
  2. 0

    Failure: http://builds.cask.co/browse/CDAP-DUT3208-JOB1-3/test/case/37302225 Seems like there were a couple of exceptions while running the query: {code} $ cat cdap-gateway/target/surefire-reports/co.cask.cdap.gateway.handlers.metrics.MetricsHandlerTestRun-output.txt 2015-11-23 10:30:37,951 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274637. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.access$000(DefaultMetricDatasetFactory.java:51) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory$1.get(DefaultMetricDatasetFactory.java:75) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory$1.get(DefaultMetricDatasetFactory.java:69) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:100) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:38,544 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274638. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:39,554 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274639. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:40,553 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274640. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,229 - WARN [executor-8] [executor-8:c.c.c.m.q.MetricsHandler@211] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeBatchQueries(MetricsHandler.java:207) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:188) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,235 - WARN [executor-13] [executor-13:c.c.c.m.q.MetricsHandler@240] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:252) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.tagsQuerying(MetricsHandler.java:238) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:192) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,241 - WARN [executor-15] [executor-15:c.c.c.m.q.MetricsHandler@240] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:252) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.tagsQuerying(MetricsHandler.java:238) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:192) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] {code} However, the 'metric' parameter is present in the query, so this needs more investigation.

    Cask Community Issue Tracker | 1 year ago | Bhooshan Mogal
    java.lang.IllegalStateException: Transaction Manager is not running.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Failure: http://builds.cask.co/browse/CDAP-DUT3208-JOB1-3/test/case/37302225 Seems like there were a couple of exceptions while running the query: {code} $ cat cdap-gateway/target/surefire-reports/co.cask.cdap.gateway.handlers.metrics.MetricsHandlerTestRun-output.txt 2015-11-23 10:30:37,951 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274637. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.access$000(DefaultMetricDatasetFactory.java:51) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory$1.get(DefaultMetricDatasetFactory.java:75) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory$1.get(DefaultMetricDatasetFactory.java:69) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:100) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:38,544 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274638. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:39,554 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274639. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:30:40,553 - ERROR [metrics-collection] [metrics-collection:c.c.c.m.c.AggregatedMetricsCollectionService@106] - Failed in publishing metrics for timestamp 1448274640. java.lang.IllegalStateException: Transaction Manager is not running. at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[guava-13.0.1.jar:na] at co.cask.tephra.TransactionManager.ensureAvailable(TransactionManager.java:707) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startTx(TransactionManager.java:766) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:726) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionManager.startShort(TransactionManager.java:714) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.inmemory.InMemoryTxSystemClient.startShort(InMemoryTxSystemClient.java:58) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.TransactionContext.start(TransactionContext.java:89) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:133) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:79) ~[tephra-core-0.6.3.jar:na] at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:53) ~[tephra-core-0.6.3.jar:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:492) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setPropertiesNoPublish(DefaultMetadataStore.java:124) ~[classes/:na] at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.setProperties(DefaultMetadataStore.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.store.SystemMetadataWriter.update(SystemMetadataWriter.java:85) ~[classes/:na] at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:97) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.createIfNotExists(DatasetsUtil.java:67) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.getOrCreateDataset(DatasetsUtil.java:54) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateMetricsTable(DefaultMetricDatasetFactory.java:123) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricDatasetFactory.getOrCreateFactTable(DefaultMetricDatasetFactory.java:98) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$1.get(DefaultMetricStore.java:213) ~[classes/:na] at co.cask.cdap.data2.dataset2.lib.cube.DefaultCube.<init>(DefaultCube.java:77) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:219) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore$2.get(DefaultMetricStore.java:216) ~[classes/:na] at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:116) ~[guava-13.0.1.jar:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:254) ~[classes/:na] at co.cask.cdap.metrics.store.DefaultMetricStore.add(DefaultMetricStore.java:233) ~[classes/:na] at co.cask.cdap.metrics.collect.LocalMetricsCollectionService.publish(LocalMetricsCollectionService.java:60) ~[classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.publishMetrics(AggregatedMetricsCollectionService.java:104) [classes/:na] at co.cask.cdap.metrics.collect.AggregatedMetricsCollectionService.runOneIteration(AggregatedMetricsCollectionService.java:99) [classes/:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,229 - WARN [executor-8] [executor-8:c.c.c.m.q.MetricsHandler@211] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeBatchQueries(MetricsHandler.java:207) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:188) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,235 - WARN [executor-13] [executor-13:c.c.c.m.q.MetricsHandler@240] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:252) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.tagsQuerying(MetricsHandler.java:238) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:192) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] 2015-11-23 10:31:02,241 - WARN [executor-15] [executor-15:c.c.c.m.q.MetricsHandler@240] - Invalid request java.lang.IllegalArgumentException: Missing metrics parameter in the query at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:331) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.executeQuery(MetricsHandler.java:252) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.tagsQuerying(MetricsHandler.java:238) [classes/:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:192) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] {code} However, the 'metric' parameter is present in the query, so this needs more investigation.

    Cask Community Issue Tracker | 1 year ago | Bhooshan Mogal
    java.lang.IllegalStateException: Transaction Manager is not running.
  5. 0

    Steps to produce bug : 1.mvn hpi:run 2.Set access keys , Then it throws following exception - 2013-01-25 18:29:38.039::WARN: /descriptorByName/hudson.plugins.ec2.AmazonEC2Cloud/fillRegionItems java.lang.IllegalStateException: Connection not obtained from this manager at org.apache.http.util.Asserts.check(Asserts.java:34) at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.releaseConnection(ThreadSafeClientConnManager.java:252) at org.apache.http.impl.conn.AbstractClientConnAdapter.abortConnection(AbstractClientConnAdapter.java:338) at org.apache.http.impl.client.DefaultRequestDirector.abortConnection(DefaultRequestDirector.java:1119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:590) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:858) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:76) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:97) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:58) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:262) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:169) at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:5684) at com.amazonaws.services.ec2.AmazonEC2Client.describeRegions(AmazonEC2Client.java:768) at com.amazonaws.services.ec2.AmazonEC2Client.describeRegions(AmazonEC2Client.java:4534) at hudson.plugins.ec2.AmazonEC2Cloud$DescriptorImpl.doFillRegionItems(AmazonEC2Cloud.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.hand And Regions wont be populated

    Jenkins JIRA | 4 years ago | Ratn Dwivedi
    java.lang.IllegalStateException: Connection not obtained from this manager

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      connection manager is not live!

      at com.hazelcast.nio.tcp.TcpIpConnectionManager.newConnection()
    2. Hazelcast
      CachedExecutorServiceDelegate$Worker.run
      1. com.hazelcast.nio.tcp.TcpIpConnectionManager.newConnection(TcpIpConnectionManager.java:353)
      2. com.hazelcast.nio.tcp.SocketAcceptorThread.configureAndAssignSocket(SocketAcceptorThread.java:242)
      3. com.hazelcast.nio.tcp.SocketAcceptorThread.access$000(SocketAcceptorThread.java:40)
      4. com.hazelcast.nio.tcp.SocketAcceptorThread$1.run(SocketAcceptorThread.java:230)
      5. com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:212)
      5 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames
    4. Hazelcast
      HazelcastManagedThread.run
      1. com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
      2. com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)
      2 frames