You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/08/14 22:56:56 UTC
[1/2] git commit: AMBARI-2892. hdfs user is required on hosts that
have only yarn components are deployed. (smohanty)
Updated Branches:
refs/heads/trunk ad24d766d -> 9ea2792f3
AMBARI-2892. hdfs user is required on hosts that have only yarn components are deployed. (smohanty)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/684cff38
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/684cff38
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/684cff38
Branch: refs/heads/trunk
Commit: 684cff3813ac7808f29e6b34bd0f5184bd1d2de2
Parents: ad24d76
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Wed Aug 14 13:53:26 2013 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Aug 14 13:53:26 2013 -0700
----------------------------------------------------------------------
.../puppet/modules/hdp-yarn/manifests/init.pp | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/684cff38/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 19b3c12..6140054 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
@@ -23,30 +23,30 @@ class hdp-yarn::initialize()
{
$mapred_user = $hdp-yarn::params::mapred_user
$hdfs_user = $hdp::params::hdfs_user
- $yarn_user = $hdp::params::yarn_user
+ $yarn_user = $hdp-yarn::params::yarn_user
##Process package
hdp-yarn::package{'yarn-common':}
-
+
# Create users
- hdp::user { 'mapred_user':
+ hdp::user { 'yarn_mapred_user':
user_name => $mapred_user
}
- hdp::user { 'hdfs_user':
+ hdp::user { 'yarn_hdfs_user':
user_name => $hdfs_user
}
- hdp::user { 'yarn_user':
- user_name => $yarn_user
+ hdp::user { 'yarn_yarn_user':
+ user_name => $yarn_user
}
#Generate common configs
hdp-yarn::generate_common_configs{'yarn-common-configs':}
-
+
anchor{ 'hdp-yarn::initialize::begin': } Hdp::Package['yarn-common'] ->
- Hdp::User<|title == $hdfs_user or title == $mapred_user or title == $yarn_user|> ->
- Hdp-yarn::Generate_common_configs['yarn-common-configs'] -> anchor{ 'hdp-yarn::initialize::end': }
+ Hdp::User<|title == 'yarn_hdfs_user' or title == 'yarn_mapred_user' or title == 'yarn_yarn_user'|> ->
+ Hdp-yarn::Generate_common_configs['yarn-common-configs'] -> anchor{ 'hdp-yarn::initialize::end': }
}
define hdp-yarn::generate_common_configs() {
[2/2] git commit: AMBARI-2900. Hadoop installation fails on SUSE-11
for 1.4.0. (smohanty)
Posted by sm...@apache.org.
AMBARI-2900. Hadoop installation fails on SUSE-11 for 1.4.0. (smohanty)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/9ea2792f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/9ea2792f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/9ea2792f
Branch: refs/heads/trunk
Commit: 9ea2792f3857a4ff9be407d7a1b7b3786c79782f
Parents: 684cff3
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Wed Aug 14 13:53:34 2013 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Aug 14 13:53:34 2013 -0700
----------------------------------------------------------------------
.../stacks/HDP/2.0.5/repos/repoinfo.xml | 24 ++++----------------
.../stacks/HDPLocal/2.0.5/repos/repoinfo.xml | 22 ++++--------------
2 files changed, 9 insertions(+), 37 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9ea2792f/ambari-server/src/main/resources/stacks/HDP/2.0.5/repos/repoinfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.5/repos/repoinfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.5/repos/repoinfo.xml
index 9316dc5..d1d7716 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.5/repos/repoinfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.5/repos/repoinfo.xml
@@ -68,32 +68,18 @@
<mirrorslist><![CDATA[http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch]]></mirrorslist>
</repo>
</os>
-<!--
<os type="suse11">
<repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-2.0.1/repos/suse11</baseurl>
- <repoid>HDP-2.0.1</repoid>
+ <baseurl>http://dev.hortonworks.com.s3.amazonaws.com/HDP-2.0.5.0/repos/suse11</baseurl>
+ <repoid>HDP-2.0.5</repoid>
<reponame>HDP</reponame>
</repo>
- <repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/suse11</baseurl>
- <repoid>HDP-UTILS-1.1.0.15</repoid>
- <reponame>HDP-UTILS</reponame>
- <mirrorslist></mirrorslist>
- </repo>
</os>
- <os type="sles11">
+ <os type="sles11">
<repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-2.0.1/repos/suse11</baseurl>
- <repoid>HDP-2.0.1</repoid>
+ <baseurl>http://dev.hortonworks.com.s3.amazonaws.com/HDP-2.0.5.0/repos/suse11</baseurl>
+ <repoid>HDP-2.0.5</repoid>
<reponame>HDP</reponame>
</repo>
- <repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/suse11</baseurl>
- <repoid>HDP-UTILS-1.1.0.15</repoid>
- <reponame>HDP-UTILS</reponame>
- <mirrorslist></mirrorslist>
- </repo>
</os>
--->
</reposinfo>
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9ea2792f/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/repos/repoinfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/repos/repoinfo.xml b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/repos/repoinfo.xml
index 9316dc5..b222227 100644
--- a/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/repos/repoinfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDPLocal/2.0.5/repos/repoinfo.xml
@@ -68,32 +68,18 @@
<mirrorslist><![CDATA[http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch]]></mirrorslist>
</repo>
</os>
-<!--
<os type="suse11">
<repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-2.0.1/repos/suse11</baseurl>
- <repoid>HDP-2.0.1</repoid>
+ <baseurl>http://dev.hortonworks.com.s3.amazonaws.com/HDP-2.0.5.0/repos/suse11</baseurl>
+ <repoid>HDP-2.0.5</repoid>
<reponame>HDP</reponame>
</repo>
- <repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/suse11</baseurl>
- <repoid>HDP-UTILS-1.1.0.15</repoid>
- <reponame>HDP-UTILS</reponame>
- <mirrorslist></mirrorslist>
- </repo>
</os>
<os type="sles11">
<repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-2.0.1/repos/suse11</baseurl>
- <repoid>HDP-2.0.1</repoid>
+ <baseurl>http://dev.hortonworks.com.s3.amazonaws.com/HDP-2.0.5.0/repos/suse11</baseurl>
+ <repoid>HDP-2.0.5</repoid>
<reponame>HDP</reponame>
</repo>
- <repo>
- <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/suse11</baseurl>
- <repoid>HDP-UTILS-1.1.0.15</repoid>
- <reponame>HDP-UTILS</reponame>
- <mirrorslist></mirrorslist>
- </repo>
</os>
--->
</reposinfo>