HDFS-2156. Make hdfs and mapreduce rpm only depend on the same major
version for common and hdfs. (eyang via omalley) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3810266eae
commit
c187bdc0a2
|
@ -294,6 +294,9 @@ Trunk (unreleased changes)
|
|||
|
||||
HDFS-2083. Query JMX statistics over http via JMXJsonServlet. (tanping)
|
||||
|
||||
HDFS-2156. Make hdfs and mapreduce rpm only depend on the same major
|
||||
version for common and hdfs. (eyang via omalley)
|
||||
|
||||
IMPROVEMENTS
|
||||
|
||||
HDFS-1875. MiniDFSCluster hard-codes dfs.datanode.address to localhost
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
%define name hadoop-hdfs
|
||||
%define version @version@
|
||||
%define release @package.release@
|
||||
%define major_version %(echo %{version} | cut -d. -f -2)
|
||||
|
||||
# Installation Locations
|
||||
%define _prefix @package.prefix@
|
||||
|
@ -75,7 +76,7 @@ Prefix: %{_conf_dir}
|
|||
Prefix: %{_log_dir}
|
||||
Prefix: %{_pid_dir}
|
||||
Buildroot: %{_build_dir}
|
||||
Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service, jdk >= 1.6, hadoop-common >= %{version}
|
||||
Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service, hadoop-common >= %{major_version}.0, hadoop-common <= %{major_version}.9999
|
||||
AutoReqProv: no
|
||||
Provides: hadoop-hdfs
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
%define name hadoop-mapreduce
|
||||
%define version @version@
|
||||
%define release @package.release@
|
||||
%define major_version %(echo %{version} | cut -d. -f -2)
|
||||
|
||||
# Installation Locations
|
||||
%define _prefix @package.prefix@
|
||||
|
@ -76,7 +77,7 @@ Prefix: %{_conf_dir}
|
|||
Prefix: %{_log_dir}
|
||||
Prefix: %{_pid_dir}
|
||||
Buildroot: %{_build_dir}
|
||||
Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service, jdk >= 1.6, hadoop-common >= %{version}, hadoop-hdfs >= %{version}
|
||||
Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service, hadoop-common >= %{major_version}, , hadoop-common <= %{major_version}.9999, hadoop-hdfs >= %{major_version}, hadoop-hdfs <= %{major_version}.9999
|
||||
AutoReqProv: no
|
||||
Provides: hadoop-mapreduce
|
||||
|
||||
|
|
Loading…
Reference in New Issue