hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ido Hadanny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-2314) JDBC HiveConnection.close() throws an exception: Error while cleaning up the server resources, caused by: org.apache.thrift.TApplicationException: Invalid method name: 'clean'
Date Wed, 27 Jul 2011 11:25:09 GMT
JDBC HiveConnection.close() throws an exception: Error while cleaning up the server resources,
caused by: org.apache.thrift.TApplicationException: Invalid method name: 'clean'
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HIVE-2314
                 URL: https://issues.apache.org/jira/browse/HIVE-2314
             Project: Hive
          Issue Type: Bug
            Reporter: Ido Hadanny
            Priority: Minor


>From time to time, when calling JDBC HiveConnection.close() an exception is thrown:

Connection.close()
java.sql.SQLException: Error while cleaning up the server resources
      at org.apache.hadoop.hive.jdbc.HiveConnection.close(HiveConnection.java:134)
      at net.sf.log4jdbc.ConnectionSpy.close(ConnectionSpy.java:896)
      at org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(DataSourceUtils.java:313)
      at org.springframework.jdbc.datasource.DataSourceUtils.releaseConnection(DataSourceUtils.java:274)
      at org.springframework.jdbc.datasource.DataSourceUtils$ConnectionSynchronization.beforeCompletion(DataSourceUtils.java:428)
      at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCompletion(TransactionSynchronizationUtils.java:84)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCompletion(AbstractPlatformTransactionManager.java:918)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:716)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
      at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:261)
      at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76)
      at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367)
      at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214)
      at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143)
      at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:247)
      at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:196)
      at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:135)
      at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:61)
      at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
      at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144)
      at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124)
      at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:135)
      at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:281)
      at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:120)
      at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
      at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:114)
      at org.springframework.batch.core.launch.support.SimpleJobOperator.start(SimpleJobOperator.java:300)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      at $Proxy10.start(Unknown Source)
      at com.pursway.core.controller.ExecutionController.run(ExecutionController.java:668)
      at com.pursway.core.controller.ExecutionController.runCurrentJob(ExecutionController.java:251)
      at com.pursway.core.controller.ExecutionController.processWorkflow(ExecutionController.java:323)
      at com.pursway.core.controller.ExecutionController.main(ExecutionController.java:96)
Caused by: org.apache.thrift.TApplicationException: Invalid method name: 'clean'
      at org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
      at org.apache.hadoop.hive.service.ThriftHive$Client.recv_clean(ThriftHive.java:418)
      at org.apache.hadoop.hive.service.ThriftHive$Client.clean(ThriftHive.java:402)
      at org.apache.hadoop.hive.jdbc.HiveConnection.close(HiveConnection.java:132)



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message