Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> Need help for building haddop source on windows7


Copy link to this message
-
Need help for building haddop source on windows7
Hi,

I was trying to build the latest Hadoop code taken from trunk in Windows 7
and end up with following build error. Can anybody help to resolve this
issue.

[DEBUG] endProcessChildren:
artifact=org.apache.hadoop:hadoop-hdfs:jar:3.0.0-SNAPSHOT
[WARNING]
Dependency convergence error for
org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT paths to dependency are:
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT
and
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-20130816.054400-3232

[DEBUG] Adding failure due to exception
org.apache.maven.enforcer.rule.api.EnforcerRuleException: Failed while
enforcing releasability the error(s) are [
Dependency convergence error for
org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT paths to dependency are:
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT
and
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-20130816.054400-3232
]
    at
org.apache.maven.plugins.enforcer.DependencyConvergence.execute(DependencyConvergence.java:140)
    at
org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:177)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    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:84)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.enforcer.rule.api.EnforcerRuleException: Failed
while enforcing releasability the error(s) are [
Dependency convergence error for
org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT paths to dependency are:
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT
and
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-20130816.054400-3232
]
    at
org.apache.maven.plugins.enforcer.DependencyConvergence.execute(DependencyConvergence.java:131)
    ... 22 more
[DEBUG] Executing rule:
org.apache.maven.plugins.enforcer.RequireMavenVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireMavenVersion is
cacheable.
[DEBUG] Key org.apache.maven.plugins.enforcer.RequireMavenVersion
-937312197 was found in the cache
[DEBUG] The cached results are still valid. Skipping the rule:
org.apache.maven.plugins.enforcer.RequireMavenVersion
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is
cacheable.
[DEBUG] Key org.apache.maven.plugins.enforcer.RequireJavaVersion 48569 was
found in the cache
[DEBUG] The cached results are still valid. Skipping the rule:
org.apache.maven.plugins.enforcer.RequireJavaVersion
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence
failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for
org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT paths to dependency are:
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-SNAPSHOT
and
+-org.apache.hadoop:hadoop-hdfs:3.0.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.0.0-20130816.054400-3232
]
[INFO]
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [1.325s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [0.510s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [1.709s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [0.596s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.298s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [2.469s]
[INFO] Apache Hadoop MiniKDC ............................. SUCCESS [0.951s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [1.610s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [1.231s]
[INFO] Apache Hadoop Common .............................. SUCCESS [38.332s]
[INFO] Apache Hadoop NFS ................................. SUCCESS [1.785s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.082s]
[INFO] Apache Hadoop HDFS ................................ FAILURE [43.526s]
[INFO] Apache Hadoop HttpFS .............................. SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS-NFS ............................ SKIPP
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB