This is an automated email from the ASF dual-hosted git repository.

wangxianghu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new e6a71ea  [MINOR] Access the static member getLastHeartbeatTime via the 
class instead (#3015)
e6a71ea is described below

commit e6a71ea544f3dd1ab5227b4c89a1540df5f7891a
Author: Wei <[email protected]>
AuthorDate: Mon May 31 18:54:05 2021 +0800

    [MINOR] Access the static member getLastHeartbeatTime via the class instead 
(#3015)
---
 .../src/main/java/org/apache/hudi/client/heartbeat/HeartbeatUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HeartbeatUtils.java
 
b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HeartbeatUtils.java
index 0c69a04..2fe0fef 100644
--- 
a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HeartbeatUtils.java
+++ 
b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HeartbeatUtils.java
@@ -93,7 +93,7 @@ public class HeartbeatUtils {
     try {
       if (config.getFailedWritesCleanPolicy().isLazy() && 
heartbeatClient.isHeartbeatExpired(instantTime)) {
         throw new HoodieException("Heartbeat for instant " + instantTime + " 
has expired, last heartbeat "
-            + 
heartbeatClient.getLastHeartbeatTime(table.getMetaClient().getFs(), 
config.getBasePath(), instantTime));
+            + 
HoodieHeartbeatClient.getLastHeartbeatTime(table.getMetaClient().getFs(), 
config.getBasePath(), instantTime));
       }
     } catch (IOException io) {
       throw new HoodieException("Unable to read heartbeat", io);

Reply via email to