Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bigtop-packages/src/common/alluxio/do-component-build
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ if [ $HOSTTYPE = "powerpc64le" ] ; then
mvn clean install -DskipTests -Dhadoop.version=${HADOOP_VERSION} -Dgrpc.version=1.28.0 -Dmaven.buildNumber.revisionOnScmFailure=v${ALLUXIO_VERSION} -Phadoop-3 -Pyarn "$@"

else
if [ "${OS}" = "fedora" ] ; then
sed -i "s|<nodeVersion>v10.11.0</nodeVersion>|<nodeVersion>v12.22.1</nodeVersion>|" webui/pom.xml
sed -i "s|<npmVersion>6.4.1</npmVersion>|<npmVersion>6.14.7</npmVersion>|" webui/pom.xml
sed -i "s|<activeByDefault>false</activeByDefault>|<activeByDefault>true</activeByDefault>|g" integration/jnifuse/native/pom.xml
fi
mvn clean install -DskipTests -Dhadoop.version=${HADOOP_VERSION} -Dmaven.buildNumber.revisionOnScmFailure=v${ALLUXIO_VERSION} -Phadoop-3 -Pyarn "$@"

fi
7 changes: 7 additions & 0 deletions bigtop-packages/src/common/alluxio/install_alluxio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ if [ $? != 0 ] ; then
usage
fi

. /etc/os-release
OS="$ID"

eval set -- "$OPTS"
while true ; do
case "$1" in
Expand Down Expand Up @@ -129,6 +132,10 @@ cp -a libexec/* $PREFIX/$LIB_DIR/libexec
cp -a client/* $PREFIX/$LIB_DIR/client
cp -a integration/* $PREFIX/$LIB_DIR/integration
cp integration/fuse/target/alluxio-integration-fuse-*-jar-with-dependencies.jar $PREFIX/$LIB_DIR/integration/fuse

if [ ${OS} = "fedora" ] ; then
cp integration/jnifuse/native/src/main/resources/libjnifuse*.so $PREFIX/$LIB_DIR/integration/jnifuse/native/target/classes/
fi
rm -rf $PREFIX/$LIB_DIR/integration/pom.xml $PREFIX/$LIB_DIR/integration/**/pom.xml
rm -rf $PREFIX/$LIB_DIR/integration/target $PREFIX/$LIB_DIR/integration/**/target
rm -rf $PREFIX/$LIB_DIR/integration/**/src
Expand Down
10 changes: 9 additions & 1 deletion bigtop_toolchain/manifests/packages.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,15 @@
]

if ($operatingsystem == 'Fedora' or $operatingsystemmajrelease !~ /^[0-7]$/) {
$pkgs = concat($_pkgs, ["python2-devel", "libtirpc-devel", "cmake"])
$__pkgs = concat($_pkgs, ["python2-devel", "libtirpc-devel", "cmake"])
if ($operatingsystem == 'Fedora'
and versioncmp($operatingsystemmajrelease, '36') >= 0
and $architecture in ['aarch64', 'ppc64le']
){
$pkgs = concat($__pkgs, ["fuse3", "fuse3-devel"])
} else {
$pkgs = $__pkgs
}
} else {
$pkgs = concat($_pkgs, ["python-devel", "cmake3"])
}
Expand Down