guyuqi commented on code in PR #1148:
URL: https://github.com/apache/bigtop/pull/1148#discussion_r1281431957
##########
bigtop-deploy/puppet/modules/spark/manifests/init.pp:
##########
@@ -202,6 +202,20 @@
}
}
+ # install R by dnf in openEuler
+ case $architecture{
+ 'aarch64' : { $arch= "aarch64"}
+ 'x86_64' : { $arch= "x86_64"}
+ }
+
+ if ($operatingsystem == 'openEuler'){
+ exec {"install_R":
+ command => "/usr/bin/dnf install 'dnf-command(config-manager)' -y &&
/usr/bin/dnf config-manager --add-repo
https://repo.oepkgs.net/openeuler/rpm/openEuler-22.03-LTS/extras/$arch &&
/usr/bin/dnf clean all && /usr/bin/dnf makecache && /usr/bin/dnf install -y R",
+ before => [Package["spark-sparkr"]],
+ timeout => 6000
+ }
+ }
Review Comment:
Please move `R` installation into `bigtop_toolchain`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]