Hi Sachin,
Quite a few folks have reported seeing this and there is an open jira for this.
From a previous reply by Prakash:
{quote}
This is a known bug. TEZ-2560 is tracking it – will put in a fix soon.
For now you can use a maven version < 3.3 OR change the frontend-maven-plugin
version to 0.0.23 in the top level pom.xml
diff --git pom.xml pom.xml
index 122c05c..a2957f5 100644
--- pom.xml
+++ pom.xml
@@ -725,7 +725,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
- <version>0.0.16</version>
+ <version>0.0.23</version>
</plugin>
{quote}
Also, you may wish to disable the hadoop26 profile and enable the hadoop24
profile for the build to work against hadoop-2.5.0 ( refer to BUILDING.txt ).
We are looking to generate binary artifacts ( still a work in progress as we
need to clarify all the relevant licenses of 3rd party dependencies ).
thanks
— Hitesh
On Jul 16, 2015, at 11:54 PM, Sachin Sabbarwal <[email protected]>
wrote:
> Hi Guys
> I am trying to build tez-0.7 on my cent os 6.6 machine, using maven 3.3.3
> i have downloaded source from
> http://mirrors.advancedhosters.com/apache/tez/0.7.0/ .
> In pom.xml changed hadoop version to 2.5.0 and pig version to 0.15.
> After which i ran command mvn clean package -DskipTests=true
> -Dmaven.javadoc.skip=true.
> i am following instructions from this page :
> https://tez.apache.org/install.html .
> Now i'm getting following error and my build is failing.
>
> ALso, I'm building tez to get the tez jar so that i can use it with pig, do
> we have tez tar avilable somwhere, which i can use without need of building
> it myself?
>
>
>
> [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
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>com.github.eirslett:frontend-maven-plugin:0.0.16
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/root/.m2/repository/com/github/eirslett/frontend-maven-plugin/0.0.16/frontend-maven-plugin-0.0.16.jar
> [ERROR] urls[1] =
> file:/root/.m2/repository/com/github/eirslett/frontend-plugin-core/0.0.16/frontend-plugin-core-0.0.16.jar
> [ERROR] urls[2] =
> file:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar
> [ERROR] urls[3] =
> file:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar
> [ERROR] urls[4] =
> file:/root/.m2/repository/org/apache/commons/commons-compress/1.5/commons-compress-1.5.jar
> [ERROR] urls[5] = file:/root/.m2/repository/org/tukaani/xz/1.2/xz-1.2.jar
> [ERROR] urls[6] =
> file:/root/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
> [ERROR] urls[7] =
> file:/root/.m2/repository/org/apache/httpcomponents/httpclient/4.3.1/httpclient-4.3.1.jar
> [ERROR] urls[8] =
> file:/root/.m2/repository/org/apache/httpcomponents/httpcore/4.3/httpcore-4.3.jar
> [ERROR] urls[9] =
> file:/root/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
> [ERROR] urls[10] =
> file:/root/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
> [ERROR] urls[11] =
> file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.jar
> [ERROR] urls[12] =
> file:/root/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
> [ERROR] urls[13] =
> file:/root/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
> [ERROR] urls[14] =
> file:/root/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
> [ERROR] urls[15] =
> file:/root/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
> [ERROR] urls[16] =
> file:/root/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
> [ERROR] urls[17] =
> file:/root/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
> [ERROR] urls[18] =
> file:/root/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M2a/org.eclipse.sisu.inject-0.0.0.M2a.jar
> [ERROR] urls[19] = file:/root/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar
> [ERROR] urls[20] =
> file:/root/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[21] =
> file:/root/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar
> [ERROR] urls[22] =
> file:/root/.m2/repository/com/googlecode/slf4j-maven-plugin-log/slf4j-maven-plugin-log/1.0.0/slf4j-maven-plugin-log-1.0.0.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------:
> org.slf4j.helpers.MarkerIgnoringBase
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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/PluginContainerException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :tez-ui
>
>
>
>
>
>
>
>
> --
> Sachin Sabbarwal
> Linkedin: https://www.linkedin.com/profile?viewProfile=&key=95777265
> Facebook: facebook.com/sachinsabbarwal
> Quora: http://www.quora.com/Sachin-Sabbarwal
> Blog: http://sachinsabbarwal.tumblr.com/