You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2024/04/11 10:09:00 UTC

[jira] [Resolved] (BIGTOP-4089) Fix build failure of Spark on openEuler 22.03 due to missing R

     [ https://issues.apache.org/jira/browse/BIGTOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masatake Iwasaki resolved BIGTOP-4089.
--------------------------------------
      Assignee:     (was: Masatake Iwasaki)
    Resolution: Duplicate

> Fix build failure of Spark on openEuler 22.03 due to missing R
> --------------------------------------------------------------
>
>                 Key: BIGTOP-4089
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-4089
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Masatake Iwasaki
>            Priority: Major
>
> {noformat}
> [INFO] --- exec-maven-plugin:1.6.0:exec (sparkr-pkg) @ spark-core_2.12 ---
> +++ dirname /ws/build/spark/rpm/BUILD/spark-3.3.4/core/../R/install-dev.sh
> ++ cd /ws/build/spark/rpm/BUILD/spark-3.3.4/core/../R
> ++ pwd
> + FWDIR=/ws/build/spark/rpm/BUILD/spark-3.3.4/R
> + LIB_DIR=/ws/build/spark/rpm/BUILD/spark-3.3.4/R/lib
> + mkdir -p /ws/build/spark/rpm/BUILD/spark-3.3.4/R/lib
> + pushd /ws/build/spark/rpm/BUILD/spark-3.3.4/R
> + . /ws/build/spark/rpm/BUILD/spark-3.3.4/R/find-r.sh
> ++ '[' -z '' ']'
> ++ '[' '!' -z '' ']'
> +++ command -v R
> ++ '[' '!' ']'
> ++ echo 'Cannot find '\''R_HOME'\''. Please specify '\''R_HOME'\'' or make sure R is properly installed.'
> ++ exit 1
> Cannot find 'R_HOME'. Please specify 'R_HOME' or make sure R is properly installed.
> [ERROR] Command execution failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
>     at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
>     at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
>     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:299)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:193)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:106)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:963)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:296)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:199)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
> [INFO] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)