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


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -8275,16 +8275,29 @@ public SerDeInfo get_serde(GetSerdeRequest rqst) throws 
TException {
     }
   }
 
+  @Deprecated
   @Override
-  public LockResponse get_lock_materialization_rebuild(String dbName, String 
tableName, long txnId)
-      throws TException {
-    return getTxnHandler().lockMaterializationRebuild(dbName, tableName, 
txnId);
+  public LockResponse get_lock_materialization_rebuild(String dbName, String 
tableName, long txnId) throws TException {
+    return get_lock_materialization_rebuild_req(new 
LockMaterializationRebuildRequest(DEFAULT_CATALOG_NAME, dbName,
+        tableName, txnId));
   }
 
   @Override
-  public boolean heartbeat_lock_materialization_rebuild(String dbName, String 
tableName, long txnId)
+  public LockResponse 
get_lock_materialization_rebuild_req(LockMaterializationRebuildRequest rqst)
       throws TException {
-    return getTxnHandler().heartbeatLockMaterializationRebuild(dbName, 
tableName, txnId);
+    return getTxnHandler().lockMaterializationRebuild(rqst);
+  }
+
+  @Deprecated

Review Comment:
   same



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to