You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2015/11/30 18:00:11 UTC
[jira] [Commented] (HIVE-12540) Create function failed, but show
functions display it
[ https://issues.apache.org/jira/browse/HIVE-12540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032075#comment-15032075 ]
Naveen Gangam commented on HIVE-12540:
--------------------------------------
What is the cause for failure for "create function"? Could you provide the related exception from the HS2 log? Thanks
> 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)