You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2018/05/22 20:14:42 UTC

[14/50] [abbrv] hadoop git commit: YARN-8296. Removed unique_component_support from YARN services. Contributed by Suma Shivaprasad

YARN-8296.  Removed unique_component_support from YARN services.
            Contributed by Suma Shivaprasad


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2f2dd22a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2f2dd22a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2f2dd22a

Branch: refs/heads/HDDS-48
Commit: 2f2dd22aad4a003228b9efe3b4c506a6922d09d8
Parents: 989cfdc
Author: Eric Yang <ey...@apache.org>
Authored: Thu May 17 20:58:13 2018 -0400
Committer: Eric Yang <ey...@apache.org>
Committed: Thu May 17 20:58:13 2018 -0400

----------------------------------------------------------------------
 .../src/main/resources/definition/YARN-Services-Examples.md    | 1 -
 .../src/site/markdown/yarn-service/YarnServiceAPI.md           | 3 +--
 .../src/main/webapp/app/models/yarn-servicedef.js              | 4 ----
 .../app/templates/components/service-component-table.hbs       | 6 ------
 4 files changed, 1 insertion(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2f2dd22a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Services-Examples.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Services-Examples.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Services-Examples.md
index 83e558c..b7ad6c9 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Services-Examples.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Services-Examples.md
@@ -221,7 +221,6 @@ POST URL - http://localhost:8088:/app/v1/services/hbase-app-1
     {
       "name": "regionserver",
       "number_of_containers": 3,
-      "unique_component_support": "true",
       "artifact": {
         "id": "hbase:latest",
         "type": "DOCKER"

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2f2dd22a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/YarnServiceAPI.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/YarnServiceAPI.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/YarnServiceAPI.md
index 2b567b0..f1dc81b 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/YarnServiceAPI.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/YarnServiceAPI.md
@@ -220,7 +220,7 @@ One or more components of the service. If the service is HBase say, then the com
 
 |Name|Description|Required|Schema|Default|
 |----|----|----|----|----|
-|name|Name of the service component (mandatory). If Registry DNS is enabled, the max length is 63 characters. If unique component support is enabled, the max length is lowered to 44 characters.|true|string||
+|name|Name of the service component (mandatory). If Registry DNS is enabled, the max length is 44 characters.|true|string||
 |state|The state of the component|false|ComponentState||
 |dependencies|An array of service components which should be in READY state (as defined by readiness check), before this component can be started. The dependencies across all components of a service should be represented as a DAG.|false|string array||
 |readiness_check|Readiness check for this component.|false|ReadinessCheck||
@@ -638,7 +638,6 @@ POST URL - http://localhost:8088:/app/v1/services/hbase-app-1
     {
       "name": "regionserver",
       "number_of_containers": 3,
-      "unique_component_support": "true",
       "artifact": {
         "id": "hbase:latest",
         "type": "DOCKER"

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2f2dd22a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-servicedef.js
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-servicedef.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-servicedef.js
index 19c74e1..2a9953d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-servicedef.js
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-servicedef.js
@@ -65,7 +65,6 @@ export default DS.Model.extend({
       artifactType: 'DOCKER',
       launchCommand: '',
       dependencies: [],
-      uniqueComponentSupport: false,
       configuration: null
     });
   },
@@ -199,9 +198,6 @@ export default DS.Model.extend({
       cpus: record.get('cpus'),
       memory: record.get('memory')
     };
-    if (record.get('uniqueComponentSupport')) {
-      json['unique_component_support'] = "true";
-    }
     if (record.get('configuration')) {
       json['configuration'] = record.get('configuration');
     }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2f2dd22a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/components/service-component-table.hbs
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/components/service-component-table.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/components/service-component-table.hbs
index 9d519ae..05a7451 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/components/service-component-table.hbs
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/components/service-component-table.hbs
@@ -97,12 +97,6 @@
           <label class="required">Launch Command</label>
           {{input type="text" class="form-control" value=currentComponent.launchCommand}}
         </div>
-        <div class="form-group">
-          <label class="checkbox-inline">
-            {{input type="checkbox" checked=currentComponent.uniqueComponentSupport}}
-            Unique Component Support
-          </label>
-        </div>
       </div>
       <div class="modal-footer">
         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org