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 2012/06/20 01:06:58 UTC
svn commit: r1351898 - in /incubator/bigtop/trunk:
bigtop-deploy/puppet/manifests/cluster.pp
bigtop-deploy/puppet/modules/hue/templates/hue.ini
bigtop-packages/src/rpm/hue/SPECS/hue.spec
Author: rvs
Date: Tue Jun 19 23:06:58 2012
New Revision: 1351898
URL: http://svn.apache.org/viewvc?rev=1351898&view=rev
Log:
BIGTOP-636. a few minor tweaks to the Hue deployment code
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hue/templates/hue.ini
incubator/bigtop/trunk/bigtop-packages/src/rpm/hue/SPECS/hue.spec
Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp?rev=1351898&r1=1351897&r2=1351898&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp (original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp Tue Jun 19 23:06:58 2012
@@ -60,8 +60,9 @@ class hadoop_cluster_node {
# $hadoop_mapred_jobtracker_plugins="org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin"
# $hadoop_mapred_tasktracker_plugins="org.apache.hadoop.mapred.TaskTrackerCmonInst"
- $hadoop_core_proxyusers = { oozie => { groups => 'hudson,testuser,root,hadoop,jenkins,oozie,users', hosts => "${hadoop_head_node},localhost,127.0.0.1" },
- httpfs => { groups => 'hudson,testuser,root,hadoop,jenkins,oozie,users', hosts => "${hadoop_head_node},localhost,127.0.0.1" } }
+ $hadoop_core_proxyusers = { oozie => { groups => 'hudson,testuser,root,hadoop,jenkins,oozie,users', hosts => "${hadoop_head_node},localhost,127.0.0.1" },
+ hue => { groups => 'hudson,testuser,root,hadoop,jenkins,hue,users', hosts => "${hadoop_head_node},localhost,127.0.0.1" },
+ httpfs => { groups => 'hudson,testuser,root,hadoop,jenkins,httpfs,users', hosts => "${hadoop_head_node},localhost,127.0.0.1" } }
$hbase_relative_rootdir = extlookup("hadoop_hbase_rootdir", "/hbase")
$hadoop_hbase_rootdir = "$hadoop_namenode_uri$hbase_relative_rootdir"
Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hue/templates/hue.ini
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hue/templates/hue.ini?rev=1351898&r1=1351897&r2=1351898&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hue/templates/hue.ini (original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hue/templates/hue.ini Tue Jun 19 23:06:58 2012
@@ -342,17 +342,6 @@
[[ shelltypes ]]
- # Define and configure a new shell type "flume"
- # ------------------------------------------------------------------------
- [[[ flume ]]]
- nice_name = "Flume Shell"
- command = "/usr/bin/flume shell"
- help = "The command-line Flume client interface."
-
- [[[[ environment ]]]]
- # You can specify environment variables for the Flume shell
- # in this section.
-
# Define and configure a new shell type "pig"
# ------------------------------------------------------------------------
[[[ pig ]]]
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/hue/SPECS/hue.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/hue/SPECS/hue.spec?rev=1351898&r1=1351897&r2=1351898&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/hue/SPECS/hue.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/hue/SPECS/hue.spec Tue Jun 19 23:06:58 2012
@@ -122,6 +122,8 @@ find %{apps_dir}/%1 -iname \*.py[co] -ty
Hue is a browser-based desktop interface for interacting with Hadoop.
It supports a file browser, job tracker interface, cluster health monitor, and more.
+%files -n hue
+
%clean
%__rm -rf $RPM_BUILD_ROOT
@@ -326,7 +328,7 @@ This package provides the service script
# Install and start init scripts
-%post -n %{name}
+%post -n %{name}-server
/sbin/chkconfig --add hue
########################################