YARN-7944. [UI2] Remove master node link from headers of application pages. Contributed by Yesha Vora.
This commit is contained in:
parent
a906a22645
commit
113f401f41
@ -30,7 +30,6 @@ export default DS.Model.extend({
|
||||
finishedTime: DS.attr('finishedTime'),
|
||||
progress: DS.attr('number'),
|
||||
diagnostics: DS.attr('string'),
|
||||
amContainerLogs: DS.attr('string'),
|
||||
amHostHttpAddress: DS.attr('string'),
|
||||
logAggregationStatus: DS.attr('string'),
|
||||
unmanagedApplication: DS.attr('string'),
|
||||
|
@ -30,7 +30,6 @@ export default DS.Model.extend({
|
||||
finishedTime: DS.attr("finishedTime"),
|
||||
progress: DS.attr("number"),
|
||||
diagnostics: DS.attr("string"),
|
||||
amContainerLogs: DS.attr("string"),
|
||||
amHostHttpAddress: DS.attr("string"),
|
||||
masterNodeId: DS.attr("string"),
|
||||
logAggregationStatus: DS.attr("string"),
|
||||
@ -97,10 +96,6 @@ export default DS.Model.extend({
|
||||
);
|
||||
}.property("memorySeconds", "vcoreSeconds"),
|
||||
|
||||
masterNodeURL: function() {
|
||||
return `#/yarn-node/${this.get("masterNodeId")}/${this.get("amHostHttpAddress")}/info/`;
|
||||
}.property("masterNodeId", "amHostHttpAddress"),
|
||||
|
||||
progressStyle: function() {
|
||||
return "width: " + this.get("progress") + "%";
|
||||
}.property("progress"),
|
||||
|
@ -45,7 +45,6 @@ export default DS.JSONAPISerializer.extend({
|
||||
progress: 100,
|
||||
applicationType: payload.info.YARN_APPLICATION_TYPE,
|
||||
diagnostics: (diagnostics && diagnostics !== 'null')? diagnostics : '',
|
||||
amContainerLogs: '',
|
||||
amHostHttpAddress: '',
|
||||
logAggregationStatus: '',
|
||||
unmanagedApplication: payload.info.YARN_APPLICATION_UNMANAGED_APPLICATION || 'N/A',
|
||||
|
@ -49,7 +49,6 @@ export default DS.JSONAPISerializer.extend({
|
||||
progress: payload.progress,
|
||||
applicationType: payload.applicationType,
|
||||
diagnostics: (payload.diagnostics && payload.diagnostics !== 'null')? payload.diagnostics : '',
|
||||
amContainerLogs: payload.amContainerLogs,
|
||||
amHostHttpAddress: payload.amHostHttpAddress,
|
||||
masterNodeId: payload.masterNodeId,
|
||||
logAggregationStatus: payload.logAggregationStatus,
|
||||
|
@ -64,8 +64,6 @@
|
||||
|
||||
<div class="flex-right">
|
||||
<div class="links">
|
||||
<a href="{{model.app.amContainerLogs}}" target="_blank">Master Container Log</a> |
|
||||
<a href="{{model.app.masterNodeURL}}">Master Node</a> |
|
||||
{{#if isRunningService}}
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-unstyled dropdown-toggle" title="Settings" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
|
Loading…
Reference in New Issue
Block a user