This is an automated email from the ASF dual-hosted git repository.
guyuqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 930686696 BIGTOP-3914: Add missing jars to Flink to fix sql-client.sh
execution errors (#1092)
930686696 is described below
commit 930686696dee4434620e29197c62c4c5e5519f44
Author: Yu Hou <[email protected]>
AuthorDate: Thu Mar 16 15:36:21 2023 +0800
BIGTOP-3914: Add missing jars to Flink to fix sql-client.sh execution
errors (#1092)
---
bigtop-packages/src/common/flink/install_flink.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bigtop-packages/src/common/flink/install_flink.sh
b/bigtop-packages/src/common/flink/install_flink.sh
index 4d58f86f6..10ce1ae77 100644
--- a/bigtop-packages/src/common/flink/install_flink.sh
+++ b/bigtop-packages/src/common/flink/install_flink.sh
@@ -116,6 +116,8 @@ install -d -m 0755 $PREFIX/$LIB_DIR
install -d -m 0755 $PREFIX/$LIB_DIR/bin
install -d -m 0755 $PREFIX/$LIB_DIR/lib
install -d -m 0755 $PREFIX/$LIB_DIR/examples
+install -d -m 0755 $PREFIX/$LIB_DIR/opt
+install -d -m 0755 $PREFIX/$LIB_DIR/plugins
install -d -m 0755 $PREFIX/$NP_ETC_FLINK
install -d -m 0755 $PREFIX/$ETC_FLINK/conf.dist
install -d -m 0755 $PREFIX/var/log/flink
@@ -135,6 +137,9 @@ ln -s $NP_ETC_FLINK/conf $PREFIX/$LIB_DIR/conf
cp -ra ${BUILD_DIR}/examples/* $PREFIX/${LIB_DIR}/examples/
+cp -ra ${BUILD_DIR}/opt/* $PREFIX/${LIB_DIR}/opt/
+cp -ra ${BUILD_DIR}/plugins/* $PREFIX/${LIB_DIR}/plugins/
+
cp ${BUILD_DIR}/{LICENSE,README.txt} ${PREFIX}/${LIB_DIR}/
# Copy in the /usr/bin/flink wrapper