You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by wa...@apache.org on 2021/05/31 10:54:13 UTC
[hudi] branch master updated: [MINOR] Access the static member
getLastHeartbeatTime via the class instead (#3015)
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 <hs...@163.com>
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);