Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

How to compile from source?

$
0
0

Using latest 2.2 Preview sandbox and I’m trying to compile the source from here: /usr/hdp/current/hadoop-client/src
I have Maven working and have met the requirements in the build BUILDING.TXT file.
When I attempt to compile with mvn (using POM ) from this location: /usr/hdp/current/hadoop-client/src it fails here:

[INFO] Building Apache Hadoop Common 2.6.0.2.2.0.0-913
[INFO] ————————————————————————
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main …………………………… SUCCESS [ 3.821 s]
[INFO] Apache Hadoop Project POM …………………….. SUCCESS [ 2.190 s]
[INFO] Apache Hadoop Annotations …………………….. SUCCESS [ 3.688 s]
[INFO] Apache Hadoop Project Dist POM ………………… SUCCESS [ 0.035 s]
[INFO] Apache Hadoop Assemblies ……………………… SUCCESS [ 0.038 s]
[INFO] Apache Hadoop Maven Plugins …………………… SUCCESS [ 41.235 s]
[INFO] Apache Hadoop MiniKDC ………………………… SUCCESS [01:06 min]
[INFO] Apache Hadoop Auth …………………………… SUCCESS [ 29.912 s]
[INFO] Apache Hadoop Auth Examples …………………… SUCCESS [ 0.232 s]
[INFO] Apache Hadoop Common …………………………. FAILURE [ 0.002 s] < — here

[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 02:36 min
[INFO] Finished at: 2014-11-01T09:25:35-04:00
[INFO] Final Memory: 42M/520M
[INFO] ————————————————————————
[ERROR] Failed to parse plugin descriptor for org.apache.hadoop:hadoop-maven-plugins:2.6.0.2.2.0.0-913 (/home/suaro/Documents/src/hadoop-maven-plugins/target/classes): No plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1]

Using -X I get this stack (partial below)
org.apache.maven.plugin.PluginDescriptorParsingException: Failed to parse plugin descriptor for org.apache.hadoop:hadoop-maven-plugins:2.6.0.2.2.0.0-913 (/home/suaro/Documents/src/hadoop-maven-plugins/target/classes): No plugin descriptor found at META-INF/maven/plugin.xml
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDescriptor(DefaultMavenPluginManager.java:218)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:153)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:267)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:239)

Can somebody help me understand why this is failing ?


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>