You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ji...@apache.org on 2012/05/27 09:34:23 UTC
svn commit: r1343009 - in /incubator/ambari/branches/ambari-186: ./
hmc/puppet/modules/hdp-hbase/manifests/
hmc/puppet/modules/hdp-hbase/templates/ hmc/puppet/modules/hdp/manifests/
Author: jitendra
Date: Sun May 27 07:34:23 2012
New Revision: 1343009
URL: http://svn.apache.org/viewvc?rev=1343009&view=rev
Log:
AMBARI-302. regionservers config in the hbase only has localhost in it. Contributed by Ramya.
Modified:
incubator/ambari/branches/ambari-186/CHANGES.txt
incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/manifests/init.pp
incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/templates/regionservers.erb
incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/configfile.pp
incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/params.pp
Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1343009&r1=1343008&r2=1343009&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Sun May 27 07:34:23 2012
@@ -6,6 +6,9 @@ characters wide.
Release 0.1.x - unreleased
+ AMBARI-302. regionservers config in the hbase only has localhost in it.
+ (ramya via jitendra)
+
AMBARI-275. Remove the configuration variable fs.inmemory.size.mb.
(Suresh Srinivas via jitendra)
Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/manifests/init.pp?rev=1343009&r1=1343008&r2=1343009&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/manifests/init.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/manifests/init.pp Sun May 27 07:34:23 2012
@@ -34,9 +34,7 @@ class hdp-hbase(
}
hdp-hbase::configfile { ['hbase-env.sh','hbase-site.xml','hbase-policy.xml','log4j.properties','hadoop-metrics.properties']: }
- if ($type == 'master') {
hdp-hbase::configfile { 'regionservers':}
- }
Anchor['hdp-hbase::begin'] -> Hdp::Package['hbase'] -> Hdp::User[$hbase_user] -> Hdp::Directory[$config_dir] ->
Hdp-hbase::Configfile<||> -> Anchor['hdp-hbase::end']
}
Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/templates/regionservers.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/templates/regionservers.erb?rev=1343009&r1=1343008&r2=1343009&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/templates/regionservers.erb (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hbase/templates/regionservers.erb Sun May 27 07:34:23 2012
@@ -1,3 +1,3 @@
-<%h=scope.function_hdp_host("rs_hosts"); (h.kind_of?(Array) ? h : []).each do |host|-%>
+<%h=scope.function_hdp_host("hbase_rs_hosts"); (h.kind_of?(Array) ? h : []).each do |host|-%>
<%= host %>
<%end-%>
Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/configfile.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/configfile.pp?rev=1343009&r1=1343008&r2=1343009&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/configfile.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/configfile.pp Sun May 27 07:34:23 2012
@@ -10,7 +10,7 @@ define hdp::configfile(
$jtnode_host = $hdp::params::jtnode_host,
$snamenode_host = $hdp::params::snamenode_host,
$slave_hosts = $hdp::params::slave_hosts,
- $rs_hosts = $hdp::params::rs_hosts,
+ $hbase_rs_hosts = $hdp::params::hbase_rs_hosts,
$zookeeper_hosts = $hdp::params::zookeeper_hosts,
$hbase_master_host = $hdp::params::hbase_master_host,
$hcat_server_host = $hdp::params::hcat_server_host,
Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/params.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/params.pp?rev=1343009&r1=1343008&r2=1343009&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/params.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp/manifests/params.pp Sun May 27 07:34:23 2012
@@ -10,12 +10,11 @@ class hdp::params()
$snamenode_host = hdp_default("snamenode_host")
$jtnode_host = hdp_default("jtnode_host")
$slave_hosts = hdp_default("slave_hosts")
- $rs_hosts = hdp_default("rs_hosts",$slave_hosts) #if rs_hosts not given it is assumed that region servers on same nodes as slaves
$zookeeper_hosts = hdp_default("zookeeper_hosts")
$hbase_master_host = hdp_default("hbase_master_host")
- $hbase_rs_hosts = hdp_default("hbase_rs_hosts")
+ $hbase_rs_hosts = hdp_default("hbase_rs_hosts",$slave_hosts) #if hbase_rs_hosts not given it is assumed that region servers on same nodes as slaves
$hive_server_host = hdp_default("hive_server_host")
$oozie_server = hdp_default("oozie_server")