YARN-5500. [YARN-3368] ‘Master node' link under application tab is broken. (Akhil P B Tan via Sunil G)
This commit is contained in:
parent
e93f900b55
commit
bc273c43ae
@ -33,6 +33,13 @@ export default Ember.Controller.extend({
|
|||||||
routeName: 'yarn-app',
|
routeName: 'yarn-app',
|
||||||
model: appId
|
model: appId
|
||||||
}];
|
}];
|
||||||
})
|
}),
|
||||||
|
|
||||||
|
amHostHttpAddressFormatted: function() {
|
||||||
|
var amHostAddress = this.get('model.app.amHostHttpAddress');
|
||||||
|
if (amHostAddress.indexOf('http://') < 0) {
|
||||||
|
amHostAddress = 'http://' + amHostAddress;
|
||||||
|
}
|
||||||
|
return amHostAddress;
|
||||||
|
}.property('model.app.amHostHttpAddress')
|
||||||
});
|
});
|
||||||
|
@ -172,8 +172,8 @@
|
|||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href={{model.app.amContainerLogs}}>Link</a></td>
|
<td><a href={{model.app.amContainerLogs}} target="_blank">Link</a></td>
|
||||||
<td><a href={{model.app.amHostHttpAddress}}>Link</a></td>
|
<td><a href={{amHostHttpAddressFormatted}} target="_blank">Link</a></td>
|
||||||
<td>{{model.app.amNodeLabelExpression}}</td>
|
<td>{{model.app.amNodeLabelExpression}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user