!5 在/usr/bin目录下创建hive包ext文件夹软连接
From: @wang--ge Reviewed-by: @small_leek,@zhengzhenyu Signed-off-by: @small_leek,@zhengzhenyu
This commit is contained in:
commit
4a95393aaa
@ -2,7 +2,7 @@
|
||||
|
||||
Name: hive
|
||||
Version: 3.1.2
|
||||
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
|
||||
@ -89,6 +89,7 @@ cp -pr bin/ext/* %{buildroot}%{_datadir}/%{name}/bin/ext
|
||||
for f in beeline.sh hiveserver2.sh; do
|
||||
rm %{buildroot}%{_datadir}/%{name}/bin/ext/${f}
|
||||
done
|
||||
ln -s %{_datadir}/%{name}/bin/ext %{buildroot}%{_bindir}/ext
|
||||
|
||||
# conf
|
||||
for f in hive-default.xml hive-env.sh hive-exec-log4j2.properties hive-log4j2.properties; do
|
||||
@ -125,5 +126,8 @@ ln -s %{_javadir}/%{name}/%{name}-shims.jar %{buildroot}%{_datadir}/hadoop/mapre
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 09 2021 Ge Wang <wangge20@huawei.com> 3.1.2-2
|
||||
- Add soft link ext to directory /usr/bin due to hive's shell starting info
|
||||
|
||||
* Tue Apr 13 2021 Ge Wang <wangge20@huawei.com> 3.1.2-1
|
||||
- Init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user