Hi guys, recently we met one exception : stream closed , the detail is here, https://issues.apache.org/jira/browse/HIVE-11681
the root cause is the add jar will generate one new classloader, when session close, the classloader will close also , which inside the URLClassloader, the stream cached by this classloader also closed, wich cause the other thread met the stream closed exception. we thought this is one common issue for all hive user from hive 0.13.1 which merge this issue [Bug - A problem which impairs or prevents the functions of the product.] HIVE-3969<https://issues.apache.org/jira/browse/HIVE-3969> Session state for hive server should be cleaned-up it is a little difficult to resolve this issue. because all the invoke is outside of hive controle, like cache stream ,close stream. so my doubts is why hiveserver should create new URLClassLoader for each ession , but not reuse one same URLClassloader. expect yours guidance, thks! Regards Wenli