hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Flatley (JIRA)" <>
Subject [jira] Updated: (HIVE-1536) Add support for JDBC PreparedStatements
Date Tue, 24 Aug 2010 14:44:17 GMT


Sean Flatley updated HIVE-1536:

    Status: Patch Available  (was: Open)

In this second go around most of the code was reverted,  Please see the change log for details.

Change log:   HIVE-1536-changes-2.txt 
Junit log file :  JdbcDriverTest-ant-2.log
Patch:  HIVE-1536-2.patch

> Add support for JDBC PreparedStatements
> ---------------------------------------
>                 Key: HIVE-1536
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Drivers
>            Reporter: Sean Flatley
>            Assignee: Sean Flatley
>         Attachments: all-tests-ant.log, HIVE-1536-2.patch, HIVE-1536-changes-2.txt, HIVE-1536-changes.txt,
HIVE-1536.patch, JdbcDriverTest-ant-2.log, JdbcDriverTest-ant.log
> 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