[ https://issues.apache.org/jira/browse/HIVE-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283153#comment-14283153 ]
Eugene Koifman commented on HIVE-9404: -------------------------------------- I actually saw this state on Azure which uses MsSQL. More importantly, we often get this when checking out a connection from the pool, i.e. isRetryable() has to handle not having a Connection.... I can add the check but I think it will be of limited use at least for this type of error > NPE in > org.apache.hadoop.hive.metastore.txn.TxnHandler.determineDatabaseProduct() > --------------------------------------------------------------------------------- > > Key: HIVE-9404 > URL: https://issues.apache.org/jira/browse/HIVE-9404 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 0.15.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Attachments: HIVE-9404.patch > > > {noformat} > Caused by: java.lang.NullPointerException > at > org.apache.hadoop.hive.metastore.txn.TxnHandler.determineDatabaseProduct(TxnHandler.java:1015) > at > org.apache.hadoop.hive.metastore.txn.TxnHandler.checkRetryable(TxnHandler.java:906) > at > org.apache.hadoop.hive.metastore.txn.TxnHandler.getOpenTxns(TxnHandler.java:238) > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_open_txns(HiveMetaStore.java:5321) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)