[ https://issues.apache.org/jira/browse/HIVE-25005?focusedWorklogId=582755&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-582755 ]
ASF GitHub Bot logged work on HIVE-25005: ----------------------------------------- Author: ASF GitHub Bot Created on: 14/Apr/21 18:41 Start Date: 14/Apr/21 18:41 Worklog Time Spent: 10m Work Description: kishendas commented on a change in pull request #2171: URL: https://github.com/apache/hive/pull/2171#discussion_r613498968 ########## File path: standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/AbstractThriftHiveMetastore.java ########## @@ -0,0 +1,1610 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore; + +import com.facebook.fb303.fb_status; +import org.apache.hadoop.hive.metastore.api.*; +import org.apache.hadoop.hive.metastore.api.Package; +import org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface; +import org.apache.thrift.TException; + +import java.util.List; +import java.util.Map; + +/** + * This abstract class can be extended by any remote cache that implements HMS APIs. + * The idea behind introducing this abstract class is not to break the build of remote cache, + * whenever we add new HMS APIs. + */ +public abstract class AbstractThriftHiveMetastore implements Iface { Review comment: Concept of an interface itself makes all these APIs pluggable with your own implementation, so not sure if that's what this class brings in extra. @vihangk1 Do you have any other suggestions for the class name ? @nrg4878 This can be extended in Hive as well, for example by CachedStore in future. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 582755) Time Spent: 20m (was: 10m) > Provide dummy implementation for HMS APIs > ------------------------------------------ > > Key: HIVE-25005 > URL: https://issues.apache.org/jira/browse/HIVE-25005 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2 > Reporter: Kishen Das > Assignee: Kishen Das > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > If there is a remote cache that implements HMS APIs, it would be useful to > have dummy implementation for all the APIs, so that any new HMS API will not > break the build for the remote cache. -- This message was sent by Atlassian Jira (v8.3.4#803005)