This is an automated email from the ASF dual-hosted git repository.
zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 4d9202038 [#2466] fix(server): Ignore appIdToInfos when serialize
ServerNode (#2467)
4d9202038 is described below
commit 4d920203856c059422944924f67bda17c109a036
Author: xianjingfeng <[email protected]>
AuthorDate: Mon Apr 28 19:21:51 2025 +0800
[#2466] fix(server): Ignore appIdToInfos when serialize ServerNode (#2467)
### What changes were proposed in this pull request?
Ignore appIdToInfos when serialize ServerNode
### Why are the changes needed?
Fix #2466
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual Testing
---
.../src/main/java/org/apache/uniffle/coordinator/ServerNode.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java
b/coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java
index c8463666d..8f7d9847b 100644
--- a/coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java
+++ b/coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java
@@ -23,6 +23,7 @@ import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
@@ -51,7 +52,7 @@ public class ServerNode implements Comparable<ServerNode> {
private long startTime = -1;
private String version;
private String gitCommitId;
- Map<String, RssProtos.ApplicationInfo> appIdToInfos;
+ @JsonIgnore Map<String, RssProtos.ApplicationInfo> appIdToInfos;
public ServerNode(String id) {
this(id, "", 0, 0, 0, 0, 0, Sets.newHashSet(), ServerStatus.EXCLUDED);