deniskuzZ commented on code in PR #5628:
URL: https://github.com/apache/hive/pull/5628#discussion_r2142790101


##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:
##########
@@ -50,20 +54,24 @@ public interface IMetaStoreClient extends AutoCloseable {
    * Returns whether current client is compatible with conf argument or not
    * @return
    */
-  boolean isCompatibleWith(Configuration conf);
+  default boolean isCompatibleWith(Configuration configuration) {
+    return false;
+  }
 
   /**
    * Set added jars path info to MetaStoreClient.
    * @param addedJars the hive.added.jars.path. It is qualified paths 
separated by commas.
    */
-  void setHiveAddedJars(String addedJars);
+  default void setHiveAddedJars(String addedJars){};

Review Comment:
   UnsupportedOperationException



##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:
##########
@@ -79,12 +87,14 @@ public interface IMetaStoreClient extends AutoCloseable {
   /**
    * set meta variable which is open to end users
    */
-  void setMetaConf(String key, String value) throws MetaException, TException;
+  default void setMetaConf(String key, String value) throws MetaException, 
TException {}

Review Comment:
   UnsupportedOperationException



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to