使用Maven安装Accumulo时执行目标失败



我正在尝试安装Accumulo。但是我遇到了一个问题。

下面是我使用的命令:
mvn package install -X

下面是安装执行的最后一部分,您可以清楚地看到错误:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Accumulo Project ............................ SUCCESS [ 15.329 s]
[INFO] Apache Accumulo Fate ............................... SUCCESS [01:05 min]
[INFO] Apache Accumulo Start .............................. FAILURE [  7.833 s]
[INFO] Apache Accumulo Core ............................... SKIPPED
[INFO] Apache Accumulo Documentation ...................... SKIPPED
[INFO] Apache Accumulo Server Base ........................ SKIPPED
[INFO] Apache Accumulo Tracer Server ...................... SKIPPED
[INFO] Apache Accumulo Shell .............................. SKIPPED
[INFO] Apache Accumulo Simple Examples .................... SKIPPED
[INFO] Apache Accumulo GC Server .......................... SKIPPED
[INFO] Apache Accumulo Master Server ...................... SKIPPED
[INFO] Apache Accumulo Monitor Server ..................... SKIPPED
[INFO] Apache Accumulo Tablet Server ...................... SKIPPED
[INFO] Apache Accumulo MiniCluster ........................ SKIPPED
[INFO] Apache Accumulo Native Libraries ................... SKIPPED
[INFO] Apache Accumulo Proxy .............................. SKIPPED
[INFO] Apache Accumulo Iterator Test Harness .............. SKIPPED
[INFO] Apache Accumulo Testing ............................ SKIPPED
[INFO] Apache Accumulo .................................... SKIPPED
[INFO] Apache Accumulo Maven Plugin ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:30 min
[INFO] Finished at: 2016-10-26T15:05:30+00:00
[INFO] Final Memory: 52M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (Build Test jars) on project accumulo-start: Command execution failed. Process exited with an error: 127 (Exit value: 127) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (Build Test jars) on project accumulo-start: Command execution failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        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:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        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:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:276)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)
        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:660)
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:265)
        ... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :accumulo-start

是否有我丢失的包裹?Ubuntu有问题吗?

操作系统:没有可用的LSB模块。发行商ID: Ubuntu描述:Ubuntu 16.04.1 LTS版本:16.04代号:主客关系的

我使用的是当前版本的Accumulo (GitHub上的master)。

看起来它在执行makeTestJars脚本(https://github.com/apache/accumulo/blob/master/start/src/test/shell/makeTestJars.sh)期间失败了,这意味着它在系统上找不到这四个命令之一(mkdir、sed、$JAVA_HOME/bin/javac或$JAVA_HOME/bin/jar)。

相关内容

  • 没有找到相关文章

最新更新