From c9e9bce3610423b14f54dc1e967de59b82f1d3ff Mon Sep 17 00:00:00 2001 From: K0K0V0K <109747532+K0K0V0K@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:33:40 +0200 Subject: [PATCH] YARN-11729. Broken 'AM Node Web UI' link on App details page (#7030) --- .../src/main/webapp/app/models/yarn-app-attempt.js | 2 +- .../hadoop-yarn-ui/src/main/webapp/app/models/yarn-container.js | 2 +- .../src/main/webapp/app/models/yarn-timeline-appattempt.js | 2 +- .../src/main/webapp/app/models/yarn-timeline-container.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-app-attempt.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-app-attempt.js index b89db46268..98e7def836 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-app-attempt.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-app-attempt.js @@ -144,7 +144,7 @@ export default DS.Model.extend({ masterNodeURL: function() { var addr = encodeURIComponent(this.get("nodeHttpAddress")); - return `#/yarn-node/${this.get("nodeId")}/${addr}/info/`; + return `#/yarn-node/${this.get("nodeId")}/${addr}/info`; }.property("nodeId", "nodeHttpAddress"), appAttemptContainerLogsURL: function() { diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-container.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-container.js index 6a33e9a2fe..ed9967bd71 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-container.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-container.js @@ -65,7 +65,7 @@ export default DS.Model.extend({ masterNodeURL: function() { var addr = encodeURIComponent(this.get("nodeHttpAddress")); - return `#/yarn-node/${this.get("nodeId")}/${addr}/info/`; + return `#/yarn-node/${this.get("nodeId")}/${addr}/info`; }.property("nodeId", "nodeHttpAddress"), appAttemptContainerLogsURL: function() { diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-appattempt.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-appattempt.js index f0fb537a19..11432249fe 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-appattempt.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-appattempt.js @@ -143,6 +143,6 @@ export default DS.Model.extend({ masterNodeURL: function() { var addr = encodeURIComponent(this.get("nodeHttpAddress")); - return `#/yarn-node/${this.get("nodeId")}/${addr}/info/`; + return `#/yarn-node/${this.get("nodeId")}/${addr}/info`; }.property("nodeId", "nodeHttpAddress"), }); diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-container.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-container.js index 1a972361af..26e7c02f0d 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-container.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-timeline-container.js @@ -66,7 +66,7 @@ export default DS.Model.extend({ masterNodeURL: function() { var addr = encodeURIComponent(this.get("nodeHttpAddress")); - return `#/yarn-node/${this.get("nodeId")}/${addr}/info/`; + return `#/yarn-node/${this.get("nodeId")}/${addr}/info`; }.property("nodeId", "nodeHttpAddress"), appAttemptContainerLogsURL: function() {