[ 
https://issues.apache.org/jira/browse/HIVE-24329?focusedWorklogId=510261&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-510261
 ]

ASF GitHub Bot logged work on HIVE-24329:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Nov/20 14:07
            Start Date: 11/Nov/20 14:07
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #1647:
URL: https://github.com/apache/hive/pull/1647#discussion_r521381364



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitCompactionMessage.java
##########
@@ -0,0 +1,47 @@
+/* * 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.messaging;
+
+import org.apache.hadoop.hive.metastore.api.CompactionType;
+import org.apache.hadoop.hive.metastore.api.Partition;
+import org.apache.hadoop.hive.metastore.api.Table;
+import org.apache.hadoop.hive.metastore.api.WriteEventInfo;
+
+import java.util.List;
+
+/**
+ * Message sent when a compaction commit is done.
+ */
+public abstract class CommitCompactionMessage extends EventMessage {
+
+  protected CommitCompactionMessage() {
+    super(EventType.COMMIT_COMPACTION);
+  }
+
+  public abstract Long getTxnId();
+
+  public abstract Long getCompactionId();
+
+  public abstract  CompactionType getType();
+
+  public abstract String getDbname();

Review comment:
       Same as above, do we actually need db name here?




----------------------------------------------------------------
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: 510261)
    Time Spent: 0.5h  (was: 20m)

> Add HMS notification for compaction commit
> ------------------------------------------
>
>                 Key: HIVE-24329
>                 URL: https://issues.apache.org/jira/browse/HIVE-24329
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Peter Varga
>            Assignee: Peter Varga
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This could be used by file metadata caches, to invalidate the cache content



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

Reply via email to