You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Fei Hui (JIRA)" <ji...@apache.org> on 2016/11/01 02:49:58 UTC
[jira] [Comment Edited] (HIVE-15096) hplsql registerUDF conflicts
with pom.xml
[ https://issues.apache.org/jira/browse/HIVE-15096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15624106#comment-15624106 ]
Fei Hui edited comment on HIVE-15096 at 11/1/16 2:49 AM:
---------------------------------------------------------
there is no hplsql.jar with hive release. users don't know how to change this file if they have no source code
was (Author: ferhui):
there is no hplsql.jar with hive release. users do not change this file if they have no source code
> hplsql registerUDF conflicts with pom.xml
> -----------------------------------------
>
> Key: HIVE-15096
> URL: https://issues.apache.org/jira/browse/HIVE-15096
> Project: Hive
> Issue Type: Bug
> Components: hpl/sql
> Affects Versions: 2.0.0, 2.1.0, 2.0.1
> Reporter: Fei Hui
> Fix For: 2.2.0
>
> Attachments: HIVE-15096.patch
>
>
> in hplsql code, registerUDF code is
> sql.add("ADD JAR " + dir + "hplsql.jar");
> sql.add("ADD JAR " + dir + "antlr-runtime-4.5.jar");
> sql.add("ADD FILE " + dir + Conf.SITE_XML);
> but pom configufation is
> <parent>
> <groupId>org.apache.hive</groupId>
> <artifactId>hive</artifactId>
> <version>2.2.0-SNAPSHOT</version>
> <relativePath>../pom.xml</relativePath>
> </parent>
> <artifactId>hive-hplsql</artifactId>
> <packaging>jar</packaging>
> <name>Hive HPL/SQL</name>
> <dependency>
> <groupId>org.antlr</groupId>
> <artifactId>antlr4-runtime</artifactId>
> <version>4.5</version>
> </dependency>
> when run hplsql , errors occur as below
> Error while processing statement: /opt/apps/apache-hive-2.0.0-bin/lib/hplsql.jar does not exist
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)