hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <>
Subject [jira] Commented: (HIVE-1536) Add support for JDBC PreparedStatements
Date Fri, 13 Aug 2010 19:31:16 GMT


John Sichi commented on HIVE-1536:

Sounds like an environmental problem, since I don't think I've heard reports of failures on
that test elsewhere.  Can you check hive-trunk/build/ql/tmp/hive.log after the test run to
find the exception details?  (Search for the text of the select statement executed by that

> Add support for JDBC PreparedStatements
> ---------------------------------------
>                 Key: HIVE-1536
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Drivers
>            Reporter: Sean Flatley
> As a result of a Sprint which had us using Pentaho Data Integration with the Hive database
we have updated the driver.  Many PreparedStatement methods have been implemented.  A patch
will be attached tomorrow with a summary of changes.
> Note:  A checkout of Hive/trunk was performed and the TestJdbcDriver test cased was run.
 This was done before any modifications were made to the checked out project.  The testResultSetMetaData
> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED: Execution Error,
return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
> 	at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(
> 	at org.apache.hadoop.hive.jdbc.TestJdbcDriver.testResultSetMetaData(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at junit.framework.TestCase.runTest(
> 	at junit.framework.TestCase.runBare(
> 	at junit.framework.TestResult$1.protect(
> 	at junit.framework.TestResult.runProtected(
> 	at
> 	at
> 	at junit.framework.TestSuite.runTest(
> 	at
> 	at
> 	at
> 	at
> A co-worker did the same and the tests passed.  Both environments were Ubuntu and Hadoop
version 0.20.2.
> Tests added to the TestJdbcDriver by us were successful.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message