You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2015/02/23 22:51:29 UTC
[2/2] bigtop git commit: BIGTOP-1694. puppet: Make httpfs subscribe
to core-site and hdfs-site
BIGTOP-1694. puppet: Make httpfs subscribe to core-site and hdfs-site
This makes hadoop-httpfs subscribe to core-site.xml and hdfs-site.xml which
are used by hadoop-hdfs such as fs.defaultFS from core-site.xml.
Signed-off-by: Konstantin Boudnik <co...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/32c5e7c3
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/32c5e7c3
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/32c5e7c3
Branch: refs/heads/master
Commit: 32c5e7c36c8817bfc3e44431c935fb413ab48059
Parents: bc1c2a4
Author: Peter Slawski <pe...@amazon.com>
Authored: Wed Feb 18 15:05:07 2015 -0800
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Mon Feb 23 13:50:36 2015 -0800
----------------------------------------------------------------------
bigtop-deploy/puppet/modules/hadoop/manifests/init.pp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/32c5e7c3/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 6af1c4c..bd6be18 100644
--- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
@@ -324,6 +324,7 @@ class hadoop ($hadoop_security_authentication = "simple",
$hadoop_security_authentcation = $hadoop::hadoop_security_authentication,
$kerberos_realm = $hadoop::kerberos_realm,
) inherits hadoop {
+ include common_hdfs
if ($hadoop_security_authentication == "kerberos") {
kerberos::host_keytab { "httpfs":
@@ -355,7 +356,8 @@ class hadoop ($hadoop_security_authentication = "simple",
service { "hadoop-httpfs":
ensure => running,
hasstatus => true,
- subscribe => [Package["hadoop-httpfs"], File["/etc/hadoop-httpfs/conf/httpfs-site.xml"], File["/etc/hadoop-httpfs/conf/httpfs-env.sh"], File["/etc/hadoop-httpfs/conf/httpfs-signature.secret"]],
+ subscribe => [Package["hadoop-httpfs"], File["/etc/hadoop-httpfs/conf/httpfs-site.xml"], File["/etc/hadoop-httpfs/conf/httpfs-env.sh"], File["/etc/hadoop-httpfs/conf/httpfs-signature.secret"],
+ File["/etc/hadoop/conf/core-site.xml"], File["/etc/hadoop/conf/hdfs-site.xml"]],
require => [ Package["hadoop-httpfs"] ],
}
Kerberos::Host_keytab <| title == "httpfs" |> -> Service["hadoop-httpfs"]