nicknezis edited a comment on pull request #3741:
URL: https://github.com/apache/incubator-heron/pull/3741#issuecomment-984966124


   Tested a deployment of `acking` topology without specifying any parameters. 
When trying to kill the topology, I received the following stack trace in the 
`heron-apiserver`:
   ```
   [2021-12-02 20:10:38 +0000] [INFO] 
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the 
tunnel processes
   2021-12-02 20:10:38,231 ERROR 
org.apache.heron.apiserver.resources.TopologyResource kill qtp2045766957-13 
error killing topology acking
   java.lang.IllegalStateException: closed
        at okio.RealBufferedSource.select(RealBufferedSource.java:93)
        at okhttp3.internal.Util.bomAwareCharset(Util.java:467)
        at okhttp3.ResponseBody.string(ResponseBody.java:181)
        at 
org.apache.heron.scheduler.kubernetes.KubernetesUtils.errorMessageFromResponse(KubernetesUtils.java:77)
        at 
org.apache.heron.scheduler.kubernetes.V1Controller.deleteStatefulSets(V1Controller.java:313)
        at 
org.apache.heron.scheduler.kubernetes.V1Controller.killTopology(V1Controller.java:165)
        at 
org.apache.heron.scheduler.kubernetes.KubernetesScheduler.onKill(KubernetesScheduler.java:113)
        at 
org.apache.heron.scheduler.client.LibrarySchedulerClient.killTopology(LibrarySchedulerClient.java:61)
        at 
org.apache.heron.scheduler.RuntimeManagerRunner.killTopologyHandler(RuntimeManagerRunner.java:173)
        at 
org.apache.heron.scheduler.RuntimeManagerRunner.call(RuntimeManagerRunner.java:98)
        at 
org.apache.heron.scheduler.RuntimeManagerMain.callRuntimeManagerRunner(RuntimeManagerMain.java:498)
        at 
org.apache.heron.scheduler.RuntimeManagerMain.manageTopology(RuntimeManagerMain.java:411)
        at 
org.apache.heron.apiserver.actions.TopologyRuntimeAction.execute(TopologyRuntimeAction.java:39)
        at 
org.apache.heron.apiserver.resources.TopologyResource.kill(TopologyResource.java:498)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   ```
   
   Edit: Perhaps this is due to a missing `deletecollection` verb on 
`StatefulSet` in the `Role`? I'll test this out later tonight.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to