[ https://issues.apache.org/jira/browse/HIVE-16114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896682#comment-15896682 ]
Zhihua Deng commented on HIVE-16114: ------------------------------------ the blame code snippet: <code> if (doAsEnabled != session.getConf().getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_ENABLE_DOAS)) </code> it seems that the session got from threadlocal has not been opened yet or has been closed, So the session.getConf() is probably null. > NullPointerException in TezSessionPoolManager when getting the session > ---------------------------------------------------------------------- > > Key: HIVE-16114 > URL: https://issues.apache.org/jira/browse/HIVE-16114 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Zhihua Deng > Priority: Minor > > hive version: apache-hive-2.1.1 > we use hue(3.11.0) connecting to the HiveServer2. when hue starts up, it > works with no problems, a few hours passed, when we use the same sql, an > exception about unable to initialize TezTask will come into being. -- This message was sent by Atlassian JIRA (v6.3.15#6346)