我正在将Tableau连接到Hive。它在过去5-7天内完美运行。 但现在它停止连接到蜂巢,出现以下错误。 “[HiveODBC](34):来自配置单元的错误:内部错误处理ExecuteStatement”
这是来自hiveserver2的日志
2014-06-23 06:06:19,888 ERROR [pool-5-thread-5]: thrift.ProcessFunction (ProcessFunction.java:process(41)) – Internal error processing ExecuteStatement
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:713)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:638)
at org.apache.hadoop.hive.ql.hooks.ATSHook.run(ATSHook.java:84)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1211)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1089)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:912)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:907)
at org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:144)
at org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:174)
at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:231)
at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:212)
at org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:220)
at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:346)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1313)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1298)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:55)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
我只是谷歌并发现存在内存泄漏错误。但我不确定在Hive 0.13版本中也是如此吗?我正在使用带有ambari 1.5的HDP 2.1
答案 0 :(得分:0)
根据以下链接,它似乎是HDP 2.1的回归: http://hortonworks.com/community/forums/topic/hive-unable-to-create-thread-hdp2-1/
我还没有尝试过workqround建议,但重新启动hive修复至少是暂时的问题。