You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "xianjingfeng (via GitHub)" <gi...@apache.org> on 2025/04/27 10:11:55 UTC

[PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

xianjingfeng opened a new pull request, #2467:
URL: https://github.com/apache/uniffle/pull/2467

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#123] feat(server,coordinator): support xxx"
        - "[#123] feat(common): support xxx"
        - "[MINOR] improvement(script): fix style"
        - "[MINOR] improvement(ci): add some examples and notice"
        - "[#233] fix: check null before access result in xxx"
        - "[#233][FOLLOWUP] improvement(dashboard): display something xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. Contributor guidelines:
      https://github.com/apache/incubator-uniffle/blob/master/CONTRIBUTING.md
   3. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   (Please outline the changes and how this PR fixes the issue.)
   -->
   
   Ignore appIdToInfos when serialize ServerNode
   
   ### Why are the changes needed?
   <!--
   (Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, describe the bug.)
   
   Fix: # (issue)
   -->
   Fix #2466
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   (Please list the user-facing changes introduced by your change, including
     1. Change in user-facing APIs.
     2. Addition or removal of property keys.)
   -->
   No.
   
   ### How was this patch tested?
   <!--
   (Please test your changes, and provide instructions on how to test it:
     1. If you add a feature or fix a bug, add a test to cover your changes. 
     2. If you fix a flaky test, repeat it for many times to prove it works.)
   -->
   Manual Testing


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #2467:
URL: https://github.com/apache/uniffle/pull/2467#discussion_r2062946822


##########
coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java:
##########
@@ -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;

Review Comment:
   I got it



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #2467:
URL: https://github.com/apache/uniffle/pull/2467#issuecomment-2833382575

   ## Test Results
    3 019 files  ±0   3 019 suites  ±0   6h 46m 30s ⏱️ -48s
    1 178 tests ±0   1 177 ✅ ±0   1 💤 ±0  0 ❌ ±0 
   14 922 runs  ±0  14 907 ✅ ±0  15 💤 ±0  0 ❌ ±0 
   
   Results for commit 91fcd909. ± Comparison against base commit aa85e3f5.
   
   [test-results]:data:application/gzip;base64,H4sIAOoKDmgC/03Myw7CIBCF4VdpWLvgUoHxZRqcQkLsxVBYNb67tFJkeb6Z/DtxfrIbeXSCMrh1ZEs+tntMwUS/Lll4L4Bmyvd4fDCm9DWHLSH+TP3t5d+HVXDGTxlqZLAhrKFISMtZ7YHzMmu1B6qqler9gqZ67jaK6zz7mAcB5nAECqikUvqpndXCOovSSCe0EBSplKA5+XwBPVvwFBQBAAA=
   


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston merged PR #2467:
URL: https://github.com/apache/uniffle/pull/2467


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #2467:
URL: https://github.com/apache/uniffle/pull/2467#discussion_r2062601939


##########
coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java:
##########
@@ -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;

Review Comment:
   Why do we need this?



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] [#2466] fix(server): Ignore appIdToInfos when serialize ServerNode [uniffle]

Posted by "xianjingfeng (via GitHub)" <gi...@apache.org>.
xianjingfeng commented on code in PR #2467:
URL: https://github.com/apache/uniffle/pull/2467#discussion_r2062794655


##########
coordinator/src/main/java/org/apache/uniffle/coordinator/ServerNode.java:
##########
@@ -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;

Review Comment:
   `RssProtos.ApplicationInfo` can't be serialized. if `appIdToInfos` is not empty, we can't see any node in the dashboard ui.



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org