Skip to content

Commit

Permalink
YARN-11729. Broken 'AM Node Web UI' link on App details page (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
K0K0V0K authored Sep 9, 2024
1 parent 6881d12 commit c9e9bce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
});
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c9e9bce

Please sign in to comment.