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 <sun...@apache.org> Authored: Tue Jun 12 17:40:41 2018 +0530 Committer: Sunil G <sun...@apache.org> 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