Zoltan Haindrich created HIVE-23003:
---------------------------------------

             Summary: CliDriver leaves the session id in the threadname on 
failure
                 Key: HIVE-23003
                 URL: https://issues.apache.org/jira/browse/HIVE-23003
             Project: Hive
          Issue Type: Bug
            Reporter: Zoltan Haindrich
            Assignee: Zoltan Haindrich


in case the command execution ends with an Exception; the line before the 
reurrn which supposed to remove the sessionid from the thread name is not 
removed

https://github.com/apache/hive/blob/b5de84a6ce27904562bb15d7fe800b6ae3c32670/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L209

impact: in case a lot of failed commands are executed (TestNegativeCliDriver) 
the sessionid-s are accumulated in the threadname causing  "No more space left 
on device"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to