!11 [sync] PR-8: fix oozie command not found jar path
From: @openeuler-sync-bot Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
0ec29dc1df
26
fix-oozie-command-not-found-jar-path.patch
Normal file
26
fix-oozie-command-not-found-jar-path.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 71ce2e135b97a50594cb36fa84f397e9f214b533 Mon Sep 17 00:00:00 2001
|
||||
From: caodongxia <315816521@qq.com>
|
||||
Date: Sat, 11 Sep 2021 11:41:23 +0800
|
||||
Subject: [PATCH] fix oozie command not found jar path
|
||||
|
||||
---
|
||||
client/src/main/bin/oozie | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/client/src/main/bin/oozie b/client/src/main/bin/oozie
|
||||
index b8db5ee..6c3593a 100644
|
||||
--- a/client/src/main/bin/oozie
|
||||
+++ b/client/src/main/bin/oozie
|
||||
@@ -51,6 +51,9 @@ if [ ! -d "${BASEDIR}/lib" ]; then
|
||||
fi
|
||||
|
||||
OOZIECPPATH=""
|
||||
+for i in "${BASEDIR}/libtools/"*.jar; do
|
||||
+ OOZIECPPATH="${OOZIECPPATH}:$i"
|
||||
+done
|
||||
for i in "${BASEDIR}/lib/"*.jar; do
|
||||
OOZIECPPATH="${OOZIECPPATH}:$i"
|
||||
done
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
Name: oozie
|
||||
Version: 5.2.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A work-flow scheduling system for Apache Hadoop
|
||||
License: Apache 2.0
|
||||
URL: http://oozie.apache.org
|
||||
Source0: https://github.com/apache/%{name}/archive/refs/tags/release-%{version}.tar.gz
|
||||
Source1: fluent-job-api-target.tar.gz
|
||||
Source2: %{name}.logrotate
|
||||
Patch0000: fix-oozie-command-not-found-jar-path.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: java-1.8.0-openjdk-devel maven xmvn xmvn-install gradle-local maven-local
|
||||
Requires: java-1.8.0-openjdk-devel hostname tomcat
|
||||
@ -20,6 +21,7 @@ web services
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-release-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
tar xf %{SOURCE1}
|
||||
cp -arf target fluent-job/fluent-job-api/
|
||||
@ -170,5 +172,8 @@ install -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
|
||||
%attr(0775,root,tomcat) %dir %{_sysconfdir}/%{name}/tomcat/Catalina/localhost
|
||||
|
||||
%changelog
|
||||
* Thu Sep 30 2021 liyanan <liyanan32@huawei.com> - 5.2.1-2
|
||||
- fix oozie command not found jar path
|
||||
|
||||
* Mon Jul 12 2021 liyanan <liyanan32@huawei.com> - 5.2.1-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user