From 3046391e29d9327bfd0668c384756ef88969d711 Mon Sep 17 00:00:00 2001 From: xiexing01 Date: Fri, 1 Dec 2023 02:39:56 +0000 Subject: [PATCH 1/2] fix hiveserver2launchproblem and remove hadoop dependency --- hive.spec | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/hive.spec b/hive.spec index 7882775..074305e 100644 --- a/hive.spec +++ b/hive.spec @@ -2,7 +2,7 @@ Name: hive Version: 3.1.3 -Release: 1 +Release: 2 Summary: The Apache Hadoop data warehouse License: Apache-2.0 and Python-2.0 and MPL-2.0 and BSD and ICU @@ -16,9 +16,6 @@ Source4: mysql-connector-java.jar BuildRequires: cmake java-1.8.0-openjdk-devel maven xmvn xmvn-install gradle-local maven-local protobuf2-devel protobuf2-compiler Requires: java-1.8.0-openjdk -Requires: hadoop-3.1-client hadoop-3.1-common hadoop-3.1-common-native hadoop-3.1-devel hadoop-3.1-hdfs hadoop-3.1-httpfs -Requires: hadoop-3.1-mapreduce hadoop-3.1-maven-plugin hadoop-3.1-yarn hadoop-3.1-yarn-security -Requires: mysql5-server BuildArch: noarch %description @@ -85,11 +82,7 @@ done # bin/ext/util cp -pr bin/ext/* %{buildroot}%{_datadir}/%{name}/bin/ext - -# don't have these just yet... -for f in beeline.sh hiveserver2.sh; do - rm %{buildroot}%{_datadir}/%{name}/bin/ext/${f} -done +chmod 0755 %{buildroot}%{_datadir}/%{name}/bin/ext/* ln -s %{_datadir}/%{name}/bin/ext %{buildroot}%{_bindir}/ext # conf @@ -127,6 +120,10 @@ ln -s %{_javadir}/%{name}/%{name}-shims.jar %{buildroot}%{_datadir}/hadoop/mapre %changelog +* Fri Dec 1 2023 wenweijian 3.1.3-2 +- remove hadoop dependency mysql5-server +- fix hiveserver2 launch problem + * Tue Sep 13 2022 Zhao Yang 3.1.3-1 - update to version 3.1.3 -- Gitee From 99fdaf2f353b256bc34095e4e62c183d3ceaf3c9 Mon Sep 17 00:00:00 2001 From: xiexing Date: Fri, 1 Dec 2023 07:19:02 +0000 Subject: [PATCH 2/2] update hive.spec. Signed-off-by: xiexing --- hive.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hive.spec b/hive.spec index 074305e..94ad56a 100644 --- a/hive.spec +++ b/hive.spec @@ -120,7 +120,7 @@ ln -s %{_javadir}/%{name}/%{name}-shims.jar %{buildroot}%{_datadir}/hadoop/mapre %changelog -* Fri Dec 1 2023 wenweijian 3.1.3-2 +* Fri Dec 1 2023 xiexing 3.1.3-2 - remove hadoop dependency mysql5-server - fix hiveserver2 launch problem -- Gitee