YARN-7475. Fix Container log link in new YARN UI. (Sunil G via Subru).
(cherry picked from commit 3c5b46c2edd69bb238d635ae61ff91656dec23df)
This commit is contained in:
parent
ff9f7fcf7f
commit
3e26077848
@ -42,9 +42,9 @@ export default DS.RESTAdapter.extend({
|
||||
var nodeHttpAddr = splits[0];
|
||||
var containerId = splits[1];
|
||||
var filename = splits[2];
|
||||
this.host = this.get('host') + nodeHttpAddr;
|
||||
var url = this._buildURL();
|
||||
url = url + "/containerlogs/" + containerId + "/" + filename;
|
||||
url = url.replace("{nodeAddress}", nodeHttpAddr) + "/containerlogs/"
|
||||
+ containerId + "/" + filename;
|
||||
return url;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user