You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2014/06/23 06:02:24 UTC
git commit: BIGTOP-1336. Puppet recipes failed to deploy kerberos
enabled hadoop cluster
Repository: bigtop
Updated Branches:
refs/heads/master e71b9d505 -> fc0d0905f
BIGTOP-1336. Puppet recipes failed to deploy kerberos enabled hadoop cluster
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/fc0d0905
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/fc0d0905
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/fc0d0905
Branch: refs/heads/master
Commit: fc0d0905fc2160c858f42571a61426b27216c1f4
Parents: e71b9d5
Author: evans_ye <in...@gmail.com>
Authored: Tue Jun 17 00:30:41 2014 +0800
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Sun Jun 22 21:01:31 2014 -0700
----------------------------------------------------------------------
bigtop-deploy/puppet/modules/hadoop/manifests/init.pp | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/fc0d0905/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
index 7355e7c..a5c44b4 100644
--- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
@@ -153,9 +153,9 @@ class hadoop {
ensure => running,
hasstatus => true,
subscribe => [Package["hadoop-hdfs-datanode"], File["/etc/hadoop/conf/core-site.xml"], File["/etc/hadoop/conf/hdfs-site.xml"], File["/etc/hadoop/conf/hadoop-env.sh"]],
- require => [ Package["hadoop-hdfs-datanode"], File[$dirs] ],
+ require => [ Package["hadoop-hdfs-datanode"], File["/etc/default/hadoop-hdfs-datanode"], File[$dirs] ],
}
- Kerberos::Host_keytab <| title == "hdfs" |> -> Service["hadoop-hdfs-datanode"]
+ Kerberos::Host_keytab <| title == "hdfs" |> -> Exec <| tag == "namenode-format" |> -> Service["hadoop-hdfs-datanode"]
file { $dirs:
ensure => directory,
@@ -333,8 +333,7 @@ class hadoop {
subscribe => [Package["hadoop-hdfs-namenode"], File["/etc/hadoop/conf/core-site.xml"], File["/etc/hadoop/conf/hdfs-site.xml"], File["/etc/hadoop/conf/hadoop-env.sh"]],
require => [Package["hadoop-hdfs-namenode"]],
}
- Exec <| tag == "namenode-format" |> -> Service["hadoop-hdfs-namenode"]
- Kerberos::Host_keytab <| title == "hdfs" |> -> Service["hadoop-hdfs-namenode"]
+ Kerberos::Host_keytab <| title == "hdfs" |> -> Exec <| tag == "namenode-format" |> -> Service["hadoop-hdfs-namenode"]
if ($ha == "auto") {
package { "hadoop-hdfs-zkfc":