YARN-11729. Broken 'AM Node Web UI' link on App details page (#7030)

This commit is contained in:
K0K0V0K 2024-09-09 16:33:40 +02:00 committed by GitHub
parent 6881d12da4
commit c9e9bce361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ export default DS.Model.extend({
masterNodeURL: function() { masterNodeURL: function() {
var addr = encodeURIComponent(this.get("nodeHttpAddress")); 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"), }.property("nodeId", "nodeHttpAddress"),
appAttemptContainerLogsURL: function() { appAttemptContainerLogsURL: function() {

View File

@ -65,7 +65,7 @@ export default DS.Model.extend({
masterNodeURL: function() { masterNodeURL: function() {
var addr = encodeURIComponent(this.get("nodeHttpAddress")); 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"), }.property("nodeId", "nodeHttpAddress"),
appAttemptContainerLogsURL: function() { appAttemptContainerLogsURL: function() {

View File

@ -143,6 +143,6 @@ export default DS.Model.extend({
masterNodeURL: function() { masterNodeURL: function() {
var addr = encodeURIComponent(this.get("nodeHttpAddress")); 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"), }.property("nodeId", "nodeHttpAddress"),
}); });

View File

@ -66,7 +66,7 @@ export default DS.Model.extend({
masterNodeURL: function() { masterNodeURL: function() {
var addr = encodeURIComponent(this.get("nodeHttpAddress")); 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"), }.property("nodeId", "nodeHttpAddress"),
appAttemptContainerLogsURL: function() { appAttemptContainerLogsURL: function() {