[45/50] hadoop git commit: YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

2018-06-12 Thread eyang
YARN-8419. [UI2] User cannot submit a new service as submit button is always 
disabled. Contributed by Suma Shivaprasad.

(cherry picked from commit b3612dd90c419c6ac5d59ab0793b4adec40ef5c6)


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

Branch: refs/remotes/origin/branch-3.1
Commit: 6f67e4db51bb775e01b22575a77cf74ec1c05af2
Parents: ba0a8f8
Author: Sunil G 
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G 
Committed: Tue Jun 12 17:41:09 2018 +0530

--
 .../src/main/webapp/app/components/deploy-service.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6f67e4db/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
--
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
 if (this.get('isLoading')) {
   return false;
 }
-if (this.get('isUserNameGiven')) {
+if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
   return false;
 }
 if (this.get('isStandardViewType')) {


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



[06/20] hadoop git commit: YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

2018-06-12 Thread gifuma
YARN-8419. [UI2] User cannot submit a new service as submit button is always 
disabled. 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/b3612dd9
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b3612dd9
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b3612dd9

Branch: refs/heads/HADOOP-15461
Commit: b3612dd90c419c6ac5d59ab0793b4adec40ef5c6
Parents: 95303f5
Author: Sunil G 
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G 
Committed: Tue Jun 12 17:40:41 2018 +0530

--
 .../src/main/webapp/app/components/deploy-service.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b3612dd9/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
--
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
 if (this.get('isLoading')) {
   return false;
 }
-if (this.get('isUserNameGiven')) {
+if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
   return false;
 }
 if (this.get('isStandardViewType')) {


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



hadoop git commit: YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

2018-06-12 Thread sunilg
Repository: hadoop
Updated Branches:
  refs/heads/trunk 95303f50d -> b3612dd90


YARN-8419. [UI2] User cannot submit a new service as submit button is always 
disabled. 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/b3612dd9
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b3612dd9
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b3612dd9

Branch: refs/heads/trunk
Commit: b3612dd90c419c6ac5d59ab0793b4adec40ef5c6
Parents: 95303f5
Author: Sunil G 
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G 
Committed: Tue Jun 12 17:40:41 2018 +0530

--
 .../src/main/webapp/app/components/deploy-service.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b3612dd9/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
--
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
 if (this.get('isLoading')) {
   return false;
 }
-if (this.get('isUserNameGiven')) {
+if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
   return false;
 }
 if (this.get('isStandardViewType')) {


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



hadoop git commit: YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

2018-06-12 Thread sunilg
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.1 ba0a8f879 -> 6f67e4db5


YARN-8419. [UI2] User cannot submit a new service as submit button is always 
disabled. Contributed by Suma Shivaprasad.

(cherry picked from commit b3612dd90c419c6ac5d59ab0793b4adec40ef5c6)


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

Branch: refs/heads/branch-3.1
Commit: 6f67e4db51bb775e01b22575a77cf74ec1c05af2
Parents: ba0a8f8
Author: Sunil G 
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G 
Committed: Tue Jun 12 17:41:09 2018 +0530

--
 .../src/main/webapp/app/components/deploy-service.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6f67e4db/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
--
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
 if (this.get('isLoading')) {
   return false;
 }
-if (this.get('isUserNameGiven')) {
+if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
   return false;
 }
 if (this.get('isStandardViewType')) {


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