This is an automated email from the ASF dual-hosted git repository.
iwasakims 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 73c14990e BIGTOP-3985: Make a symlink of
hadoop-yarn-server-timelineservice-hbase-coprocessor.jar to
hadoop-yarn-server-timelineservice-hbase-coprocessor-version.jar (#1162)
73c14990e is described below
commit 73c14990e5a25a6ced0707ac07d87da617a6e3e6
Author: jialiang <[email protected]>
AuthorDate: Sat Aug 19 07:06:13 2023 +0800
BIGTOP-3985: Make a symlink of
hadoop-yarn-server-timelineservice-hbase-coprocessor.jar to
hadoop-yarn-server-timelineservice-hbase-coprocessor-version.jar (#1162)
Co-authored-by: jialiang <[email protected]>
---
bigtop-packages/src/common/hadoop/install_hadoop.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/bigtop-packages/src/common/hadoop/install_hadoop.sh
b/bigtop-packages/src/common/hadoop/install_hadoop.sh
index 843b6768d..e6c8a1e41 100755
--- a/bigtop-packages/src/common/hadoop/install_hadoop.sh
+++ b/bigtop-packages/src/common/hadoop/install_hadoop.sh
@@ -397,6 +397,12 @@ for conf in conf.pseudo ; do
done
cp ${BUILD_DIR}/etc/hadoop/log4j.properties $PREFIX/$ETC_HADOOP/conf.pseudo
+# Make a symlink of hadoop-yarn-server-timelineservice-hbase-coprocessor.jar
to hadoop-yarn-server-timelineservice-hbase-coprocessor-version.jar
+for x in
$PREFIX/$YARN_DIR/timelineservice/hadoop-yarn-server-timelineservice-hbase-coprocessor-[[:digit:]]*.jar
; do
+ x=$(basename $x)
+ ln -s $x
$PREFIX/$YARN_DIR/timelineservice/hadoop-yarn-server-timelineservice-hbase-coprocessor.jar
+done
+
# FIXME: Provide a convenience link for configuration (HADOOP-7939)
install -d -m 0755 $PREFIX/$HADOOP_DIR/etc
ln -s $NP_ETC_HADOOP/conf $PREFIX/$HADOOP_DIR/etc/hadoop