[ https://issues.apache.org/jira/browse/HIVE-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968639#comment-13968639 ]
sukhendu chakraborty commented on HIVE-6904: -------------------------------------------- Only suggested workaround is to restart HiveServer2 and metastore but it does not fix the issue as the problems starts happening after a few tries. > out of sequence error in HS2 when connecting to the metastore server > -------------------------------------------------------------------- > > Key: HIVE-6904 > URL: https://issues.apache.org/jira/browse/HIVE-6904 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.12.0 > Environment: CDH5.0.0 > Reporter: sukhendu chakraborty > > 6:45:14.965 PM ERROR hive.log > Got exception: org.apache.thrift.TApplicationException get_tables failed: out > of sequence response > org.apache.thrift.TApplicationException: get_tables failed: out of sequence > response > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:76) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_tables(ThriftHiveMetastore.java:887) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_tables(ThriftHiveMetastore.java:873) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTables(HiveMetaStoreClient.java:927) > at > org.apache.hive.service.cli.operation.GetTablesOperation.run(GetTablesOperation.java:92) > at > org.apache.hive.service.cli.session.HiveSessionImpl.runOperationWithLogCapture(HiveSessionImpl.java:514) > at > org.apache.hive.service.cli.session.HiveSessionImpl.getTables(HiveSessionImpl.java:305) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:62) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548) > at > org.apache.hadoop.hive.shims.HadoopShimsSecure.doAs(HadoopShimsSecure.java:554) > at > org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:57) > at com.sun.proxy.$Proxy12.getTables(Unknown Source) > at org.apache.hive.service.cli.CLIService.getTables(CLIService.java:236) > at > org.apache.hive.service.cli.thrift.ThriftCLIService.GetTables(ThriftCLIService.java:375) > at > org.apache.hive.service.cli.thrift.TCLIService$Processor$GetTables.getResult(TCLIService.java:1453) > at > org.apache.hive.service.cli.thrift.TCLIService$Processor$GetTables.getResult(TCLIService.java:1438) > 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:57) > at > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244) > 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:724) > 6:45:15.074 PM ERROR hive.log > Converting exception to MetaException -- This message was sent by Atlassian JIRA (v6.2#6252)