[
https://issues.apache.org/jira/browse/YARN-11583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772231#comment-17772231
]
ASF GitHub Bot commented on YARN-11583:
---------------------------------------
slfan1989 commented on code in PR #6145:
URL: https://github.com/apache/hadoop/pull/6145#discussion_r1347491875
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/NodeLabelsPage.java:
##########
@@ -33,10 +33,14 @@ public class NodeLabelsPage extends RouterView {
protected void preHead(Hamlet.HTML<__> html) {
commonPreHead(html);
String type = $(NODE_SC);
+ String nodeLabel = $(NODE_LABEL);
String title = "Node labels of the cluster";
Review Comment:
Thanks for your suggestion! I will use `Stringbuilder` to improve this part
of the code.
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/NodesBlock.java:
##########
@@ -39,7 +40,7 @@
import java.util.Date;
-import static org.apache.hadoop.yarn.webapp.YarnWebParams.NODE_SC;
+import static org.apache.hadoop.yarn.webapp.YarnWebParams.*;
Review Comment:
I will fix it.
> Improve Node Link for YARN Federation Web Page
> ----------------------------------------------
>
> Key: YARN-11583
> URL: https://issues.apache.org/jira/browse/YARN-11583
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: federation
> Affects Versions: 3.4.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> When working on the YARN Federation Web Page, I noticed that the
> functionality for Node redirection is missing. In this JIRA, I will be
> enhancing this feature.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]