Hi,
Thanks for your replies. I tried both of the suggestions, but I still see
failures:
@Jianfeng
I changed the frontend maven plugin version to be 0.0.23 , (and also tried
hadoop 2.4 instead of 2.6) but it keeps failing at tez-ui with the
following stack trace:
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Bower install) on project
tez-ui: Command execution failed. Process exited with an error: 1 (Exit
value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Bower install) on
project tez-ui: Command execution failed.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
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:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:303)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an
error: 1 (Exit value: 1)
at
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:402)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:164)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:746)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292)
... 22 more
@Prakash
I cloned the github repo and checked out the following branch:
[adminuser@localhost tez]$ git status
# On branch branch-0.7.0
and I tried to apply the following patch, but it fails:
[adminuser@localhost tez]$ git apply -v -p0
/home/adminuser/pouria/tez/code/TEZ-2560.1.patch
Checking patch pom.xml...
error: while searching for:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scm.url>scm:git:https://git-wip-us.apache.org/repos/asf/tez.git
</scm.url>
<build.time>${maven.build.timestamp}</build.time>
<frontend-maven-plugin.version>0.0.22</frontend-maven-plugin.version>
<findbugs-maven-plugin.version>3.0.1</findbugs-maven-plugin.version>
<javadoc-maven-plugin.version>2.9.1</javadoc-maven-plugin.version>
</properties>
error: patch failed: pom.xml:54
error: pom.xml: patch does not apply
I do not really wanna downgrade my Maven from 3.3, as I am using Java 1.7
and there are some other projects on my machine which use that. But if
there is no other way, I will try that. Just wanted to check with others
for any suggestion.
Thanks,
James
On Fri, Jul 17, 2015 at 2:30 PM, Prakash Ramachandran <
[email protected]> wrote:
> I have attached a patch for TEZ-2560 on branch 0.7.0 can you try the
> same?
>
> From: James Pirz
> Reply-To: "[email protected]"
> Date: Friday, July 17, 2015 at 1:57 PM
> To: "[email protected]"
> Subject: Problem with tez-ui in building Tez 0.7.0
>
> Hi,
>
> I am "really" new to Tez, and I am trying to build Tez 0.7.0 for Hadoop
> 2.6 on CentOS 6.6 . I have installed Java, Maven3 and Protobuf 2.5 and now
> I am trying to build Tez, but it keeps failing on " tez-ui " project with;
>
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.16:install-node-and-npm
> (install node and npm) on project tez-ui: Execution install node and npm of
> goal com.github.eirslett:frontend-maven-plugin:0.0.16:install-node-and-npm
> failed: A required class was missing while executing
> com.github.eirslett:frontend-maven-plugin:0.0.16:install-node-and-npm:
> org/slf4j/helpers/MarkerIgnoringBase
>
> I have seen a similar discussion around it on the mailing list and the
> following two open Jira issues:
>
>
> https://issues.apache.org/jira/browse/TEZ-2228
> https://issues.apache.org/jira/browse/TEZ-2229
>
> I am just wondering what is the suggested steps for me to make progress
> and build Tez ? Any help or suggestion would be awesome.
>
> James
>