Fix stop service failure

This commit is contained in:
lingsheng 2021-07-12 15:23:06 +08:00
parent 72e9975072
commit 5d2ce5a687

View File

@ -11,7 +11,7 @@
%define _binaries_in_noarch_packages_terminate_build 0
Name: hadoop
Version: 3.2.1
Release: 4
Release: 5
Summary: A software platform for processing vast amounts of data
# The BSD license file is missing
# https://issues.apache.org/jira/browse/HADOOP-9849
@ -872,7 +872,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
@ -1112,6 +1112,9 @@ fi
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
%changelog
* Mon Jul 12 2021 lingsheng <lingsheng@huawei.com> - 3.2.1-5
- Fix stop service failure
* Sat Jul 10 2021 wangyue <wangyue92@huawei.com> - 3.2.1-4
- Add gcc-c++ to build dependency