!24 Fix stop service failure
From: @ultra_planet Reviewed-by: @zhengzhenyu Signed-off-by: @zhengzhenyu
This commit is contained in:
commit
3caebe3460
@ -12,7 +12,7 @@
|
|||||||
%define _binaries_in_noarch_packages_terminate_build 0
|
%define _binaries_in_noarch_packages_terminate_build 0
|
||||||
Name: hadoop-3.1
|
Name: hadoop-3.1
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A software platform for processing vast amounts of data
|
Summary: A software platform for processing vast amounts of data
|
||||||
# The BSD license file is missing
|
# The BSD license file is missing
|
||||||
# https://issues.apache.org/jira/browse/HADOOP-9849
|
# https://issues.apache.org/jira/browse/HADOOP-9849
|
||||||
@ -873,7 +873,7 @@ do
|
|||||||
echo "Failed to determine type of service for %service"
|
echo "Failed to determine type of service for %service"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sed -e "s|DAEMON|$daemon|g" $src > %{buildroot}%{_unitdir}/%{real_name}-$s.service
|
sed -e "s|DAEMON|$daemon|g" -e "/LimitNPROC/a\SuccessExitStatus=SIGKILL" $src > %{buildroot}%{_unitdir}/%{real_name}-$s.service
|
||||||
done
|
done
|
||||||
|
|
||||||
cp -f %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@httpfs
|
cp -f %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@httpfs
|
||||||
@ -1113,6 +1113,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/%{real_name}/container-executor.cfg
|
%config(noreplace) %{_sysconfdir}/%{real_name}/container-executor.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 12 2021 lingsheng <lingsheng@huawei.com> - 3.1.4-4
|
||||||
|
- Fix stop service failure
|
||||||
|
|
||||||
* Fri Jul 09 2021 wangyue <wangyue92@huawei.com> - 3.1.4-3
|
* Fri Jul 09 2021 wangyue <wangyue92@huawei.com> - 3.1.4-3
|
||||||
- Add gcc-c++ to build dependency
|
- Add gcc-c++ to build dependency
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user