diff --git a/hadoop.spec b/hadoop.spec index 40b2bdaec2a2ce48f1fb8131d431b512c2da7dc9..e7c442ff7edecace1e968798e3e1aff627f95c94 100644 --- a/hadoop.spec +++ b/hadoop.spec @@ -11,7 +11,7 @@ %define _binaries_in_noarch_packages_terminate_build 0 Name: hadoop Version: 3.2.1 -Release: 10 +Release: 11 Summary: A software platform for processing vast amounts of data # The BSD license file is missing # https://issues.apache.org/jira/browse/HADOOP-9849 @@ -870,7 +870,7 @@ do echo "Failed to determine type of service for %service" exit 1 fi - sed -e "s|DAEMON|$daemon|g" $src > %{buildroot}%{_unitdir}/%{name}-$s.service + sed -e "s|DAEMON|$daemon|g" -e "/LimitNPROC/a\SuccessExitStatus=SIGKILL" $src > %{buildroot}%{_unitdir}/%{name}-$s.service done cp -f %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@httpfs @@ -1110,6 +1110,9 @@ fi %config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg %changelog +* Mon Jul 12 2021 lingsheng - 3.2.1-11 +- Fix stop service failure + * Mon Jul 12 2021 wangyue - 3.2.1-10 - Add gcc-c++ to build dependency