[ https://issues.apache.org/jira/browse/HIVE-12043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945832#comment-14945832 ]
Sergey Shelukhin commented on HIVE-12043: ----------------------------------------- +1 if it works :) Can you rename the method to some logical name, like callWithUgi, or performDataRead, or whatever > UGI instances being used in IO elevator threads are incorrect > ------------------------------------------------------------- > > Key: HIVE-12043 > URL: https://issues.apache.org/jira/browse/HIVE-12043 > Project: Hive > Issue Type: Sub-task > Reporter: Siddharth Seth > Assignee: Siddharth Seth > Fix For: llap > > Attachments: HIVE-12043.1.txt > > > ... which leads to FileSystem closed exceptions. > I'm not sure yet if this is a result of the threadpool being used, and UGI > not working well with threadpools, or something else. > The UGI instance which was setup - at what looks to be thread creation time - > ends up being used for several different reads, ignoring the actual UGI > passed in. At some point this changes to a new incorrect UGI. > A simple fix is to propagate the correct UGI all the way to the reader, and > that fixes the FileSystem Closed exception. Figuring out the precise reason > would be good though. > Related to HIVE-9898. -- This message was sent by Atlassian JIRA (v6.3.4#6332)