MacChen01 commented on code in PR #1148: URL: https://github.com/apache/bigtop/pull/1148#discussion_r1284176748
########## bigtop-packages/src/common/spark/do-component-build: ########## @@ -30,6 +30,22 @@ BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${ -Dguava.version=27.0-jre \ $SPARK_BUILD_OPTS" +#add pandoc by wget and install in openEuler +. /etc/os-release +OS="$ID" + +if [ "${OS}" = "openEuler" ]; then + if [ $HOSTTYPE = "aarch64" ]; then + wget https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-arm64.tar.gz + tar -xf pandoc-2.19.2-linux-arm64.tar.gz + cp -r pandoc-2.19.2/bin/pandoc /usr/bin/ + else + wget https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-amd64.tar.gz + tar -xf pandoc-2.19.2-linux-amd64.tar.gz + cp -r pandoc-2.19.2/bin/pandoc /usr/bin/ + fi +fi + Review Comment: Pandoc installation moved into bigtop_toolchain. @guyuqi commits: https://github.com/apache/bigtop/pull/1148/commits/6d5fa5ad7ff65d03b9836f074b2129e5fb5a6c5d -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@bigtop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org