已开启
update: 更新文件 hadoop.spec #135
aa941101创建于 1月28日
update: 更新文件 hadoop.spec #135
已开启
aa941101创建于 1月28日
2 个文件变更+17-35
MREADME.md+2-32
@@ -13,35 +13,5 @@ Hadoop框架包括以下四个模块:
13 13 
14#### ARM支持:14#### ARM支持:
15 15 
16-1. 移植指南https://support.huaweicloud.com/prtg-apache-kunpengbds/kunpenghadoop_02_0001.html16+1. [移植指南](https://atomgit.com/openeuler/bigdata/blob/master/Docs/%E7%A7%BB%E6%A4%8D%E6%8C%87%E5%8D%97/hadoop.md)
17-2. 部署指南https://support.huaweicloud.com/dpmg-apache-kunpengbds/kunpenghadoop_04_0001.html17+2. [部署指南](https://atomgit.com/openeuler/bigdata/blob/master/Docs/%E9%83%A8%E7%BD%B2%E6%8C%87%E5%8D%97/hadoop.md)
18-3. 调优指南:XXX
19- 
20-#### 安装教程
21- 
22-1. xxxx
23-2. xxxx
24-3. xxxx
25- 
26-#### 使用说明
27- 
28-1. xxxx
29-2. xxxx
30-3. xxxx
31- 
32-#### 参与贡献
33- 
34-1. Fork 本仓库
35-2. 新建 Feat_xxx 分支
36-3. 提交代码
37-4. 新建 Pull Request
38- 
39- 
40-#### 码云特技
41- 
42-1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
43-2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
44-3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
45-4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
46-5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
47-6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
@@ -13,7 +13,7 @@
13 13 
14Name: hadoop14Name: hadoop
15Version: 3.3.615Version: 3.3.6
16-Release: 816+Release: 9
17Summary: A software platform for processing vast amounts of data17Summary: A software platform for processing vast amounts of data
18# The BSD license file is missing18# The BSD license file is missing
19# https://issues.apache.org/jira/browse/HADOOP-984919# https://issues.apache.org/jira/browse/HADOOP-9849
@@ -52,7 +52,7 @@ Patch1001: 1001-Added-support-for-building-the-riscv64-protoc-gen-gr.patch
52Patch1002: 1002-Added-support-for-building-the-riscv64-protoc-binari.patch52Patch1002: 1002-Added-support-for-building-the-riscv64-protoc-binari.patch
53 53 
54BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root54BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
55-BuildRequires: java-1.8.0-openjdk-devel maven hostname maven-local tomcat cmake snappy openssl-devel55+BuildRequires: java-1.8.0-openjdk-devel maven hostname maven-local tomcat cmake snappy openssl-devel make
56BuildRequires: cyrus-sasl-devel chrpath systemd protobuf2-compiler protobuf2-devel protobuf2-java protobuf256BuildRequires: cyrus-sasl-devel chrpath systemd protobuf2-compiler protobuf2-devel protobuf2-java protobuf2
57BuildRequires: leveldbjni leveldb-java hawtjni-runtime gcc-c++57BuildRequires: leveldbjni leveldb-java hawtjni-runtime gcc-c++
58BuildRequires: npm chrpath58BuildRequires: npm chrpath
@@ -386,7 +386,16 @@ export MAVEN_OPTS="-Xms2048M -Xmx8000M"
386function keepalive() { while true; do date; sleep 3600; done }386function keepalive() { while true; do date; sleep 3600; done }
387keepalive &387keepalive &
388%endif388%endif
389-mvn clean -Dsnappy.lib=/usr/lib64 -Dbundle.snappy -Dcontainer-executor.conf.dir=%{_sysconfdir}/%{name} -Pdist,native -DskipTests -DskipIT -Dmaven.javadoc.skip=true package389+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-common-project/hadoop-common/src/CMakeLists.txt
390+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/CMakeLists.txt
391+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt
392+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt
393+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-examples/CMakeLists.txt
394+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/CMakeLists.txt
395+sed -i "s/cmake_minimum_required(VERSION 2.8)/cmake_minimum_required(VERSION 3.10)/g" hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt
396+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/CMakeLists.txt
397+sed -i "s/cmake_minimum_required(VERSION 3.1 FATAL_ERROR)/cmake_minimum_required(VERSION 3.10 FATAL_ERROR)/g" hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/CMakeLists.txt
398+mvn clean -Dsnappy.lib=/usr/lib64 -Dbundle.snappy -Dcontainer-executor.conf.dir=%{_sysconfdir}/%{name} -Pdist,native -DskipTests -DskipIT -Dmaven.javadoc.skip=true package
390 399 
391%install400%install
392# Copy all jar files except those generated by the build401# Copy all jar files except those generated by the build
@@ -1206,6 +1215,9 @@ fi
1206%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg1215%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
1207 1216 
1208%changelog1217%changelog
1218+* Wed Jan 28 2026 aa941101 <1964146203@qq.com> - 3.3.6-9
1219+- Fixing the Hadoop compilation error.
1220+ 
1209* Mon Dec 16 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 3.3.6-81221* Mon Dec 16 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 3.3.6-8
1210- include all patches in the source package.1222- include all patches in the source package.
1211 1223