Support Questions
Find answers, ask questions, and share your expertise

Hive queries are failing with java null pointer exception

Hive queries are failing with java null pointer exception

Super Collaborator

2018-10-28T05:45:27,730 ERROR [org.apache.hadoop.hive.ql.txn.AcidOpenTxnsCounterService-0]: txn.AcidOpenTxnsCounterService (AcidOpenTxnsCounterService.java:run(71)) - Serious error in org.apache.hadoop.hive.ql.txn.AcidOpenTxnsCounterService-0 java.lang.NullPointerException at org.apache.hadoop.hive.metastore.txn.TxnHandler.checkRetryable(TxnHandler.java:2022) ~[hive-exec-2.1.0.2.6.2.25-1.jar:2.1.0.2.6.2.25-1] at org.apache.hadoop.hive.metastore.txn.TxnHandler.countOpenTxns(TxnHandler.java:3140) ~[hive-exec-2.1.0.2.6.2.25-1.jar:2.1.0.2.6.2.25-1] at org.apache.hadoop.hive.ql.txn.AcidOpenTxnsCounterService$OpenTxnsCounter.run(AcidOpenTxnsCounterService.java:61) [hive-exec-2.1.0.2.6.2.25-1.jar:2.1.0.2.6.2.25-1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_171] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_171] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]