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

Zheng Hu commented on FLINK-20380:
----------------------------------

I guess you have included a hive-metastore jar which is older than this commit, 
because since that commit the `NoSuchObjectException` was been changed from 
extending `Exception` to thrift `TException`. 

{code}
commit 5e7011d7482d56c88e3c9b838eb32732d732b657
Author: Ashutosh Chauhan <[email protected]>
Date:   Thu Nov 8 09:44:19 2012 +0000

    HIVE-2715: Upgrade Thrift dependency to 0.9.0 (Ashutosh Chauhan)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1406984 
13f79535-47bb-0310-9956-ffa450edef68

diff --git 
a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
 
b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
index a1aae4f4b9..305e979970 100644
--- 
a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
+++ 
b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
@@ -1,11 +1,21 @@
 /**
- * Autogenerated by Thrift Compiler (0.7.0)
+ * Autogenerated by Thrift Compiler (0.9.0)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
 import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -21,11 +31,17 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class NoSuchObjectException extends Exception implements 
org.apache.thrift.TBase<NoSuchObjectException, NoSuchObjectException._Fields>, 
java.io.Serializable, Cloneable {
+public class NoSuchObjectException extends TException implements 
org.apache.thrift.TBase<NoSuchObjectException, NoSuchObjectException._Fields>, 
java.io.Serializable, Cloneable {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new 
org.apache.thrift.protocol.TStruct("NoSuchObjectException");
{code}

> Problems with creating iceberg Catalog (Catalog -type=hive) using flink-SQL 
> shell
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-20380
>                 URL: https://issues.apache.org/jira/browse/FLINK-20380
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.11.2
>         Environment: cdh6.3.2 + flink1.11.2
>            Reporter: tianyu guo
>            Priority: Major
>         Attachments: flink_iceberg.png, image-2020-11-26-21-01-34-293.png
>
>
> !image-2020-11-26-21-01-34-293.png!



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

Reply via email to