ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-3966. Secure cluster: task-controller binary should be owned by the group specified in taskcontroller.cfg. (jaimin)
Date Thu, 05 Dec 2013 22:30:23 GMT
Updated Branches:
  refs/heads/branch-1.4.1 ba83fbf7f -> 9fcb58460


AMBARI-3966. Secure cluster: task-controller binary should be owned by the group specified
in taskcontroller.cfg. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9fcb5846
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9fcb5846
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9fcb5846

Branch: refs/heads/branch-1.4.1
Commit: 9fcb58460b3104b2ad9787b68a4808f60c06e9a9
Parents: ba83fbf
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Thu Dec 5 14:29:56 2013 -0800
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Thu Dec 5 14:29:56 2013 -0800

----------------------------------------------------------------------
 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp | 2 +-
 ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp   | 2 +-
 ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9fcb5846/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
index da3d1cb..a734483 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
@@ -288,7 +288,7 @@ class hdp-hadoop(
     if ($hdp::params::security_enabled == true) {
       file { "${hdp::params::hadoop_bin}/task-controller":
         owner   => 'root',
-        group   => $hdp::params::user_group,
+        group   => $hdp-hadoop::params::mapred_tt_group,
         mode    => '6050',
         require => Hdp-hadoop::Package['hadoop'],
         before  => Anchor['hdp-hadoop::end']

http://git-wip-us.apache.org/repos/asf/ambari/blob/9fcb5846/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp b/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp
index a8bbf80..5d74f86 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/init.pp
@@ -152,7 +152,7 @@ define hdp-yarn::generate_common_configs() {
     $container_executor = "${hdp::params::yarn_container_bin}/container-executor"
     file { $container_executor:
       ensure => present,
-      group => $hdp::params::user_group,
+      group => $hdp-yarn::params::yarn_executor_container_group,
       mode => 6050
     }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/9fcb5846/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp b/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp
index 637b515..c644411 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/params.pp
@@ -28,6 +28,7 @@ class hdp-yarn::params(
   ## security params
   $security_enabled = $hdp::params::security_enabled
   $smoke_user_keytab = $hdp::params::smokeuser_keytab
+  $yarn_executor_container_group = hdp_default("yarn-site/yarn.nodemanager.linux-container-executor.group","hadoop")
   $kinit_cmd = "${hdp::params::kinit_path_local} -kt ${smoke_user_keytab} ${smoke_test_user};"
 
   ## yarn-env 


Mime
View raw message