Github user zjffdu commented on the issue: https://github.com/apache/zeppelin/pull/1215 After checking ShellInterpreter.java, I found other 2 issues. * Should remove entry from executors after the shell execution is done otherwise it would accumulate more and more. * executors should be ConcurrentHashMap as it would be accessed in 2 threads (interpret & cancel will be in 2 threads if I understand correctly) I push another commit to fix these 2 issues, let me know if it is better to do it another ticket.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---