!27 Resolve hive install problem
From: @wenwj0 Reviewed-by: @macchen1 Signed-off-by: @macchen1
This commit is contained in:
parent
59b4123e2e
commit
044c96f259
15
hive.spec
15
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 xiexing <xiexing4@h-partners.com> 3.1.3-2
|
||||
- remove hadoop dependency mysql5-server
|
||||
- fix hiveserver2 launch problem
|
||||
|
||||
* Tue Sep 13 2022 Zhao Yang <yangzhao1@kylinos.cn> 3.1.3-1
|
||||
- update to version 3.1.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user