From 7fd878813bed4640ac2e9964cbb165099899f150 Mon Sep 17 00:00:00 2001 From: Sunil G Date: Fri, 20 Apr 2018 22:33:54 +0530 Subject: [PATCH] Revert "YARN-7956. [UI2] Avoid duplicating Components link under Services//Components. Contributed by Yesha Vora." This reverts commit a11ce19f47bbca4ccb00b32b3ccbda5316a01ae0. --- .../src/main/webapp/app/controllers/yarn-component-instance.js | 3 ++- .../main/webapp/app/controllers/yarn-component-instances.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instance.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instance.js index 8d28c22ec1..358c6b1396 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instance.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instance.js @@ -45,7 +45,8 @@ export default Ember.Controller.extend({ text: `${serviceName} [${appId}]`, href: `#/yarn-app/${appId}/components?service=${serviceName}` }, { - text: 'Components' + text: 'Components', + href: `#/yarn-app/${appId}/components?service=${serviceName}` }, { text: `${componentName}`, href: `#/yarn-component-instances/${componentName}/components?service=${serviceName}&&appid=${appId}` diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instances.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instances.js index fbd034ab78..073d043e4a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instances.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instances.js @@ -44,7 +44,8 @@ export default Ember.Controller.extend({ text: `${serviceName} [${appId}]`, href: `#/yarn-app/${appId}/components?service=${serviceName}` }, { - text: 'Components' + text: 'Components', + href: `#/yarn-app/${appId}/components?service=${serviceName}` }, { text: `${componentName}`, href: `#/yarn-component-instances/${componentName}/info?service=${serviceName}&&appid=${appId}`