[ 
https://issues.apache.org/jira/browse/HIVE-22397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967915#comment-16967915
 ] 

Rajkumar Singh commented on HIVE-22397:
---------------------------------------

agreed with all your explanation about the best practices but the same sequence 
of operation should not pass/fail intermittently, they should be either 
consistently fail or pass e.g.
{code:java}
Open session:
1) ADD JAR hdfs:///user/hive/customsdtable.jar; 
2) describe customsdtable; // this will succeed.
 
Another session:
1) describe customsdtable; 
2) ADD JAR hdfs:///user/hive/customsdtable.jar; 
3) describe customsdtable; // this will fail.
 
{code}

> "describe table"  statement for the table backed by custom storage handler 
> fail with CNF
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-22397
>                 URL: https://issues.apache.org/jira/browse/HIVE-22397
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.1.2
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>         Attachments: HIVE-22397.patch
>
>
> Steps to Repro:
> {code:java}
> 1) describe customsdtable;
> 2) ADD JAR hdfs:///user/hive/customsdtable.jar;
> 3) describe customsdtable;
> CNF is expected for #1 but even adding the custome serde, hive fail with 
> following exception for statement #3
> Error: Error while processing statement: FAILED: Execution Error, return code 
> 1 from org.apache.hadoop.hive.ql.exec.DDLTask. 
> java.lang.ClassNotFoundException
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to