hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan LeCompte <lecom...@gmail.com>
Subject Error while using Hive JDBC to execute a create temporary UDF
Date Wed, 02 Jun 2010 18:37:13 GMT
Hey guys,

We have a very simple JDBC client that uses the Hive JDBC driver to execute
queries. We are trying to use it to execute a simple "create temporary
function ..." statement, but Hive is throwing the following error:

Exception in thread "main" java.sql.SQLException: Query returned non-zero
code: 9, cause: FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.FunctionTask
at
org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:173)
at org.apache.hadoop.hive.jdbc.HiveStatement.execute(HiveStatement.java:115)
at HiveJdbcClient.main(HiveJdbcClient.java:31)

A simple "ADD FILE ..." works just fine, as well as other queries. This is
using Hive 0.5.

Thanks,
Ryan

Mime
View raw message