java.util.concurrent.CancellationException: Task was cancelled.

DataStax JIRA | Andy Tolbert | 2 years ago
  1. 0

    User observed the following exception while closing a {{Cluster}} instance: {noformat} [main] ERROR com.datastax.driver.core.Cluster - Unexpected error while marking node UP: while this shouldn't happen, this shouldn't be critical java.util.concurrent.CancellationException: Task was cancelled. at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:399) at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:313) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135) at com.google.common.util.concurrent.Futures$4.run(Futures.java:1138) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135) at com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:134) at com.google.common.util.concurrent.Futures$CombinedFuture.setOneValue(Futures.java:1545) at com.google.common.util.concurrent.Futures$CombinedFuture.access$400(Futures.java:1441) at com.google.common.util.concurrent.Futures$CombinedFuture$2.run(Futures.java:1514) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135) at com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:91) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.cancel(FutureTask.java:177) at com.datastax.driver.core.Cluster$Manager.shutdownNow(Cluster.java:1341) at com.datastax.driver.core.Cluster$Manager.close(Cluster.java:1308) at com.datastax.driver.core.Cluster$Manager.access$200(Cluster.java:1104) at com.datastax.driver.core.Cluster.closeAsync(Cluster.java:449) at com.datastax.driver.core.Cluster.close(Cluster.java:460) at com.datastax.loader.CqlDelimLoad.cleanup(CqlDelimLoad.java:236) at com.datastax.loader.CqlDelimLoad.run(CqlDelimLoad.java:316) at com.datastax.loader.CqlDelimLoad.main(CqlDelimLoad.java:323) {noformat} This error is not logged if an {{InterruptedException}} is encountered, we should also add logic such that if a {{CancellationException}} is thrown it is suppressed as well.

    DataStax JIRA | 2 years ago | Andy Tolbert
    java.util.concurrent.CancellationException: Task was cancelled.
  2. 0

    User observed the following exception while closing a {{Cluster}} instance: {noformat} [main] ERROR com.datastax.driver.core.Cluster - Unexpected error while marking node UP: while this shouldn't happen, this shouldn't be critical java.util.concurrent.CancellationException: Task was cancelled. at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:399) at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:313) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135) at com.google.common.util.concurrent.Futures$4.run(Futures.java:1138) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135) at com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:134) at com.google.common.util.concurrent.Futures$CombinedFuture.setOneValue(Futures.java:1545) at com.google.common.util.concurrent.Futures$CombinedFuture.access$400(Futures.java:1441) at com.google.common.util.concurrent.Futures$CombinedFuture$2.run(Futures.java:1514) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135) at com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:91) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.cancel(FutureTask.java:177) at com.datastax.driver.core.Cluster$Manager.shutdownNow(Cluster.java:1341) at com.datastax.driver.core.Cluster$Manager.close(Cluster.java:1308) at com.datastax.driver.core.Cluster$Manager.access$200(Cluster.java:1104) at com.datastax.driver.core.Cluster.closeAsync(Cluster.java:449) at com.datastax.driver.core.Cluster.close(Cluster.java:460) at com.datastax.loader.CqlDelimLoad.cleanup(CqlDelimLoad.java:236) at com.datastax.loader.CqlDelimLoad.run(CqlDelimLoad.java:316) at com.datastax.loader.CqlDelimLoad.main(CqlDelimLoad.java:323) {noformat} This error is not logged if an {{InterruptedException}} is encountered, we should also add logic such that if a {{CancellationException}} is thrown it is suppressed as well.

    DataStax JIRA | 2 years ago | Andy Tolbert
    java.util.concurrent.CancellationException: Task was cancelled.
  3. 0

    Sometimes, cannot stop the flow. Master log: {code} 2015-06-26 22:04:21,938 ERROR org.apache.twill.yarn.ResourceReportClient: Exception getting resource report from http://XXX:38102/resources. java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.7.0_75] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[na:1.7.0_75] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ~[na:1.7.0_75] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ~[na:1.7.0_75] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.7.0_75] at java.net.Socket.connect(Socket.java:579) ~[na:1.7.0_75] at java.net.Socket.connect(Socket.java:528) ~[na:1.7.0_75] at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[na:1.7.0_75] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[na:1.7.0_75] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[na:1.7.0_75] at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) ~[na:1.7.0_75] at sun.net.www.http.HttpClient.New(HttpClient.java:308) ~[na:1.7.0_75] at sun.net.www.http.HttpClient.New(HttpClient.java:326) ~[na:1.7.0_75] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) ~[na:1.7.0_75] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) ~[na:1.7.0_75] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) ~[na:1.7.0_75] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) ~[na:1.7.0_75] at java.net.URL.openStream(URL.java:1037) ~[na:1.7.0_75] at org.apache.twill.yarn.ResourceReportClient.get(ResourceReportClient.java:52) ~[org.apache.twill.twill-yarn-0.5.0-incubating.jar:0.5.0-incubating] at org.apache.twill.yarn.YarnTwillController.getResourceReport(YarnTwillController.java:303) [org.apache.twill.twill-yarn-0.5.0-incubating.jar:0.5.0-incubating] at co.cask.cdap.internal.app.runtime.distributed.DistributedProgramRuntimeService$ClusterResourceReporter.reportResources(DistributedProgramRuntimeService.java:481) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.internal.app.runtime.AbstractResourceReporter.runOneIteration(AbstractResourceReporter.java:72) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [com.google.guava.guava-13.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_75] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_75] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_75] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] 2015-06-26 22:04:24,017 ERROR co.cask.cdap.internal.app.runtime.distributed.FlowTwillProgramController: Fail to change instances. Terminating flow: {flowlet=profileStoreProcessor, newInstances=192, oldFlowSpec={"className":"xxx.ProfileStoreProcessFlow","name":"ProfileStoreProcessFlow","description":"CDAP Flow for processing reaction logs for profile store only","flowlets":{"profileStoreProcessor":{"flowletSpec":{"className":"xxx.ProfileStoreProcessor","name":"profileStoreProcessor","description":"Flowlet of Profile Store Processor.","failurePolicy":"RETRY","datasets":["profileStore"],"properties":{},"resources":{"virtualCores":1,"memoryMB":4192}},"instances":96,"datasets":["profileStore"],"inputs":{"outSpitter":["bytes"]},"outputs":{}},"kafkaSource":{"flowletSpec":{"className":"xxx.LowLevelAPIKafkaFetcher","name":"kafkaSource","description":"Flowlet of LowLevelAPIKafkaFetcher.","failurePolicy":"RETRY","datasets":["kafkaOffsetProfileStoreTest"],"properties":{},"resources":{"virtualCores":1,"memoryMB":512}},"instances":24,"datasets":["kafkaOffsetProfileStoreTest"],"inputs":{},"outputs":{"outSpitter":["bytes"]}}},"connections":[{"sourceType":"FLOWLET","sourceName":"kafkaSource","targetName":"profileStoreProcessor"}]}} java.util.concurrent.CancellationException: Task was cancelled. at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:300) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.internal.app.runtime.distributed.DistributedFlowletInstanceUpdater.update(DistributedFlowletInstanceUpdater.java:75) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.internal.app.runtime.distributed.FlowTwillProgramController.changeInstances(FlowTwillProgramController.java:81) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.internal.app.runtime.distributed.FlowTwillProgramController.doCommand(FlowTwillProgramController.java:59) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.internal.app.runtime.AbstractProgramController$6.run(AbstractProgramController.java:185) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] 2015-06-26 22:04:24,022 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,023 INFO co.cask.cdap.internal.app.runtime.distributed.AbstractTwillProgramController: Twill program terminated: ProfileStoreProcessFlow 3e08cc95-327f-4616-b060-fedf31dc6bbc 2015-06-26 22:04:24,025 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,031 ERROR co.cask.http.HttpDispatcher: Exception caught in channel processing. java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.http.HttpContentEncoder.writeRequested(HttpContentEncoder.java:167) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:725) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ExecutionHandler.handleDownstream(ExecutionHandler.java:186) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:704) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:671) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ~[io.netty.netty-3.6.6.Final.jar:na] at co.cask.http.BasicHttpResponder.sendContent(BasicHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.AbstractHttpResponder.sendStatus(AbstractHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.WrappedHttpResponder.sendStatus(WrappedHttpResponder.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1325) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) ~[co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) ~[io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] 2015-06-26 22:04:24,031 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,037 ERROR co.cask.http.HttpDispatcher: Exception caught in channel processing. java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.http.HttpContentEncoder.writeRequested(HttpContentEncoder.java:167) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:725) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ExecutionHandler.handleDownstream(ExecutionHandler.java:186) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:704) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:671) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ~[io.netty.netty-3.6.6.Final.jar:na] at co.cask.http.BasicHttpResponder.sendContent(BasicHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.AbstractHttpResponder.sendStatus(AbstractHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.WrappedHttpResponder.sendStatus(WrappedHttpResponder.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1325) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) ~[co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) ~[io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] 2015-06-26 22:04:24,038 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,060 ERROR co.cask.http.HttpDispatcher: Exception caught in channel processing. java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.http.HttpContentEncoder.writeRequested(HttpContentEncoder.java:167) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:725) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ExecutionHandler.handleDownstream(ExecutionHandler.java:186) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:704) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.Channels.write(Channels.java:671) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ~[io.netty.netty-3.6.6.Final.jar:na] at co.cask.http.BasicHttpResponder.sendContent(BasicHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.AbstractHttpResponder.sendStatus(AbstractHttpResponder.java:92) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.WrappedHttpResponder.sendStatus(WrappedHttpResponder.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1325) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) ~[co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) ~[co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) ~[io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) ~[io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] 2015-06-26 22:04:24,060 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,064 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,067 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted 2015-06-26 22:04:24,070 WARN co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler: java.lang.IllegalStateException: Stopping not allowed java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Stopping not allowed at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.stop(ProgramLifecycleHttpHandler.java:1396) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.startStopProgram(ProgramLifecycleHttpHandler.java:1320) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.performAction(ProgramLifecycleHttpHandler.java:352) [co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: java.lang.IllegalStateException: Stopping not allowed at co.cask.cdap.internal.app.runtime.AbstractProgramController.stop(AbstractProgramController.java:119) ~[co.cask.cdap.cdap-app-fabric-3.0.1.1.jar:na] ... 18 common frames omitted {code} Aslo seeing warnings: {code} 2015-06-26 22:09:43,394 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type MapReduce 2015-06-26 22:09:43,463 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Workflow 2015-06-26 22:09:43,556 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Webapp 2015-06-26 22:09:43,638 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Service 2015-06-26 22:09:43,729 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Spark 2015-06-26 22:09:43,799 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Worker 2015-06-26 22:09:43,867 WARN co.cask.cdap.internal.app.services.ProgramLifecycleService: Found 1 RunRecords with RUNNING status but the program not actually running for type Custom {code}

    Cask Community Issue Tracker | 1 year ago | Alex Baranau
    java.util.concurrent.CancellationException: Task was cancelled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1417#152984083

    GitHub | 1 year ago | rumca
    java.util.concurrent.CancellationException: Task was cancelled.
  6. 0

    GitHub comment 8202#143354481

    GitHub | 1 year ago | wildfly-ci
    org.jboss.as.testsuite.integration.secman.PBStaticMethodsTestCase: at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)

    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.util.concurrent.CancellationException

      Task was cancelled.

      at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause()
    2. Guava
      ListenableFutureTask.done
      1. com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:399)
      2. com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:313)
      3. com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293)
      4. com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
      5. com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)
      6. com.google.common.util.concurrent.Futures$4.run(Futures.java:1138)
      7. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
      8. com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150)
      9. com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135)
      10. com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:134)
      11. com.google.common.util.concurrent.Futures$CombinedFuture.setOneValue(Futures.java:1545)
      12. com.google.common.util.concurrent.Futures$CombinedFuture.access$400(Futures.java:1441)
      13. com.google.common.util.concurrent.Futures$CombinedFuture$2.run(Futures.java:1514)
      14. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
      15. com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150)
      16. com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135)
      17. com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:91)
      17 frames
    3. Java RT
      FutureTask.cancel
      1. java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380)
      2. java.util.concurrent.FutureTask.cancel(FutureTask.java:177)
      2 frames
    4. DataStax Java Driver for Apache Cassandra - Core
      Cluster.close
      1. com.datastax.driver.core.Cluster$Manager.shutdownNow(Cluster.java:1341)
      2. com.datastax.driver.core.Cluster$Manager.close(Cluster.java:1308)
      3. com.datastax.driver.core.Cluster$Manager.access$200(Cluster.java:1104)
      4. com.datastax.driver.core.Cluster.closeAsync(Cluster.java:449)
      5. com.datastax.driver.core.Cluster.close(Cluster.java:460)
      5 frames
    5. com.datastax.loader
      CqlDelimLoad.main
      1. com.datastax.loader.CqlDelimLoad.cleanup(CqlDelimLoad.java:236)
      2. com.datastax.loader.CqlDelimLoad.run(CqlDelimLoad.java:316)
      3. com.datastax.loader.CqlDelimLoad.main(CqlDelimLoad.java:323)
      3 frames