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 3C17B200B70 for ; Sat, 27 Aug 2016 10:22:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3AD9D160AC5; Sat, 27 Aug 2016 08:22:22 +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 8B152160AB2 for ; Sat, 27 Aug 2016 10:22:21 +0200 (CEST) Received: (qmail 95036 invoked by uid 500); 27 Aug 2016 08:22:20 -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 95020 invoked by uid 99); 27 Aug 2016 08:22:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2016 08:22:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89CBC2C0032 for ; Sat, 27 Aug 2016 08:22:20 +0000 (UTC) Date: Sat, 27 Aug 2016 08:22:20 +0000 (UTC) From: "Weizhong (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12540) Create function failed, but show functions display it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 27 Aug 2016 08:22:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-12540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15441021#comment-15441021 ] Weizhong commented on HIVE-12540: --------------------------------- I mean if the function create failed, we can't display it when run "show functions", but now it did. I run on Hive 2.1, it still have the problem. {noformat} hive> create function abc as 'abc'; Failed to register default.abc using class abc FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask hive> show functions like "default.*"; OK default.abc Time taken: 0.021 seconds, Fetched: 1 row(s) {noformat} > Create function failed, but show functions display it > ----------------------------------------------------- > > Key: HIVE-12540 > URL: https://issues.apache.org/jira/browse/HIVE-12540 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 1.2.0, 1.2.1 > Reporter: Weizhong > Priority: Minor > > {noformat} > 0: jdbc:hive2://vm119:10000> create function udfTest as 'hive.udf.UDFArrayNotE'; > ERROR : Failed to register default.udftest using class hive.udf.UDFArrayNotE > Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask (state=08S01,code=1) > 0: jdbc:hive2://vm119:10000> show functions; > +-------------------------+--+ > | tab_name | > +-------------------------+--+ > | ... | > | default.udftest | > | ... | > +-------------------------+--+ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)