Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17D04200BC0 for ; Tue, 1 Nov 2016 06:42:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 16621160B06; Tue, 1 Nov 2016 05:42:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5A3EB160B05 for ; Tue, 1 Nov 2016 06:41:59 +0100 (CET) Received: (qmail 14856 invoked by uid 500); 1 Nov 2016 05:41:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 14843 invoked by uid 99); 1 Nov 2016 05:41:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 05:41:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 548A52C0057 for ; Tue, 1 Nov 2016 05:41:58 +0000 (UTC) Date: Tue, 1 Nov 2016 05:41:58 +0000 (UTC) From: "Fei Hui (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15096) hplsql registerUDF conflicts with pom.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 01 Nov 2016 05:42:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15624446#comment-15624446 ] Fei Hui commented on HIVE-15096: -------------------------------- update the patch, remove the hardcode version 2.2.0-SNAPSHOT. can you review it again? give suggestions > 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.1.patch, 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 > > org.apache.hive > hive > 2.2.0-SNAPSHOT > ../pom.xml > > hive-hplsql > jar > Hive HPL/SQL > > org.antlr > antlr4-runtime > 4.5 > > 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)