Disable container-executor builds (rhbz#1597446 not fixed on s390x and armv7hl)

This commit is contained in:
Christopher Tubbs 2018-07-05 20:42:03 -04:00
parent 7367791e91
commit 4754f06305
1 changed files with 8 additions and 2 deletions

View File

@ -11,7 +11,7 @@
Name: hadoop
Version: 2.7.6
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A software platform for processing vast amounts of data
# The BSD license file is missing
# https://issues.apache.org/jira/browse/HADOOP-9849
@ -430,6 +430,9 @@ This package contains files needed to run Apache Hadoop YARN in secure mode.
%pom_xpath_set "pom:properties/pom:protobuf.version" 3.5.0 hadoop-project
# These native libs won't build on s390x and armv7hl (possibly due to some cmake issue with provided compat functions)
%pom_remove_plugin :maven-antrun-plugin hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions/pom:execution[pom:phase='test-compile']" "<id>default-jar</id>" hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell
# Remove the maven-site-plugin. It's not needed
@ -1127,9 +1130,12 @@ fi
%files yarn-security
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
# Permissions set per upstream guidelines: https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ClusterSetup.html#Configuration_in_Secure_Mode
%attr(6050,root,yarn) %{_bindir}/container-executor
# %%attr(6050,root,yarn) %%{_bindir}/container-executor
%changelog
* Fri Jul 06 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 2.7.6-4
- Disable container-executor builds (rhbz#1597446 not fixed on s390x and armv7hl)
* Thu Jul 05 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 2.7.6-3
- Fix rhbz#1597446 (container-executor builds) and rhbz#1593020 (CVE-2018-8009)