You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by bm...@apache.org on 2012/01/28 00:10:45 UTC
svn commit: r1236919 - in /incubator/bigtop/trunk/bigtop-packages/src/rpm:
flume/SPECS/flume.spec hadoop/SPECS/hadoop.spec hbase/SPECS/hbase.spec
hive/SPECS/hive.spec sqoop/SPECS/sqoop.spec zookeeper/SPECS/zookeeper.spec
Author: bmahe
Date: Fri Jan 27 23:10:44 2012
New Revision: 1236919
URL: http://svn.apache.org/viewvc?rev=1236919&view=rev
Log:
BIGTOP-367. Upgrade sequencing issue
Modified:
incubator/bigtop/trunk/bigtop-packages/src/rpm/flume/SPECS/flume.spec
incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec
incubator/bigtop/trunk/bigtop-packages/src/rpm/hive/SPECS/hive.spec
incubator/bigtop/trunk/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec
incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/flume/SPECS/flume.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/flume/SPECS/flume.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/flume/SPECS/flume.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/flume/SPECS/flume.spec Fri Jan 27 23:10:44 2012
@@ -80,6 +80,7 @@ Summary: The flume node daemon is a core
Group: Development/Libraries
BuildArch: noarch
Requires: %{name} = %{version}-%{release}, /sbin/service
+Requires(pre): %{name} = %{version}-%{release}
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec Fri Jan 27 23:10:44 2012
@@ -167,6 +167,7 @@ located.
Summary: The Hadoop namenode manages the block locations of HDFS files
Group: System/Daemons
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%description namenode
The Hadoop Distributed Filesystem (HDFS) requires one unique server, the
@@ -177,6 +178,7 @@ namenode, which manages the block locati
Summary: Hadoop Secondary namenode
Group: System/Daemons
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%description secondarynamenode
The Secondary Name Node periodically compacts the Name Node EditLog
@@ -188,6 +190,7 @@ do not incur unnecessary downtime.
Summary: Hadoop Job Tracker
Group: System/Daemons
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%description jobtracker
The jobtracker is a central service which is responsible for managing
@@ -200,6 +203,7 @@ with an available work slot.
Summary: Hadoop Data Node
Group: System/Daemons
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%description datanode
The Data Nodes in the Hadoop Cluster are responsible for serving up
@@ -211,6 +215,7 @@ blocks of data over the network to Hadoo
Summary: Hadoop Task Tracker
Group: System/Daemons
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%description tasktracker
The tasktracker has a fixed number of work slots. The jobtracker
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec Fri Jan 27 23:10:44 2012
@@ -98,6 +98,7 @@ Summary: The Hadoop HBase master Server.
Group: System/Daemons
Provides: %{name}-master
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
@@ -124,6 +125,7 @@ Summary: The Hadoop HBase RegionServer s
Group: System/Daemons
Provides: %{name}-regionserver
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
@@ -151,6 +153,7 @@ Summary: The Hadoop HBase Thrift Interfa
Group: System/Daemons
Provides: %{name}-thrift
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/hive/SPECS/hive.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/hive/SPECS/hive.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/hive/SPECS/hive.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/hive/SPECS/hive.spec Fri Jan 27 23:10:44 2012
@@ -80,6 +80,7 @@ Summary: Provides a Hive Thrift service.
Group: System/Daemons
Provides: %{name}-server
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
@@ -98,6 +99,7 @@ Summary: Shared metadata repository for
Group: System/Daemons
Provides: %{name}-metastore
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec Fri Jan 27 23:10:44 2012
@@ -54,6 +54,7 @@ URL: http://incubator.apache.org/sqoop/
Group: System/Daemons
Provides: sqoop-metastore
Requires: sqoop = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
%if %{?suse_version:1}0
# Required for init scripts
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec?rev=1236919&r1=1236918&r2=1236919&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec Fri Jan 27 23:10:44 2012
@@ -96,6 +96,7 @@ Summary: The Hadoop Zookeeper server
Group: System/Daemons
Provides: %{svc_zookeeper}
Requires: %{name} = %{version}-%{release}
+Requires(pre): %{name} = %{version}-%{release}
Requires(post): %{chkconfig_dep}
Requires(preun): %{service_dep}, %{chkconfig_dep}
BuildArch: noarch