spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunday2000" <2314476...@qq.com>
Subject 回复: Why Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1:Couldnot transfer artifact org.apache:apache:pom:14 from/to central(https://repo1.maven.org/maven2):repo1.maven.org: unknown error
Date Sun, 01 May 2016 15:35:32 GMT
Error message:
[debug] External API changes: API Changes: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set(/root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/DockerTest.java,
/root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/ExtendedHiveTest.java, /root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/ExtendedYarnTest.java)
[debug] 
[debug] Sources indirectly invalidated by:
[debug]         product: Set()
[debug]         binary dep: Set()
[debug]         external source: Set()
[debug] All initially invalidated sources: Set(/root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/DockerTest.java,
/root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/ExtendedHiveTest.java, /root/dl/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/ExtendedYarnTest.java)
[debug] Recompiling all 3 sources: invalidated sources (3) exceeded 50.0% of all sources
[info] Compiling 3 Java sources to /root/dl/spark-1.6.1/tags/target/scala-2.10/classes...
[debug] Attempting to call javac directly...
[debug] com.sun.tools.javac.Main not found with appropriate method signature; forking javac
instead
[debug] Forking javac: javac @/tmp/sbt_e1764914/argfile
[error] javac: invalid source release: 1.7
[error] Usage: javac <options> <source files>
[error] use -help for a list of possible options
[debug] javac returned exit code: 2
[error] Compile failed at May 1, 2016 11:33:06 PM [0.420s]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Spark Project Parent POM ........................... SUCCESS [  6.542 s]
[INFO] Spark Project Test Tags ............................ FAILURE [  1.412 s]
[INFO] Spark Project Launcher ............................. SKIPPED
[INFO] Spark Project Networking ........................... SKIPPED
[INFO] Spark Project Shuffle Streaming Service ............ SKIPPED
[INFO] Spark Project Unsafe ............................... SKIPPED
[INFO] Spark Project Core ................................. SKIPPED
[INFO] Spark Project Bagel ................................ SKIPPED
[INFO] Spark Project GraphX ............................... SKIPPED
[INFO] Spark Project Streaming ............................ SKIPPED
[INFO] Spark Project Catalyst ............................. SKIPPED
[INFO] Spark Project SQL .................................. SKIPPED
[INFO] Spark Project ML Library ........................... SKIPPED
[INFO] Spark Project Tools ................................ SKIPPED
[INFO] Spark Project Hive ................................. SKIPPED
[INFO] Spark Project Docker Integration Tests ............. SKIPPED
[INFO] Spark Project REPL ................................. SKIPPED
[INFO] Spark Project Assembly ............................. SKIPPED
[INFO] Spark Project External Twitter ..................... SKIPPED
[INFO] Spark Project External Flume Sink .................. SKIPPED
[INFO] Spark Project External Flume ....................... SKIPPED
[INFO] Spark Project External Flume Assembly .............. SKIPPED
[INFO] Spark Project External MQTT ........................ SKIPPED
[INFO] Spark Project External MQTT Assembly ............... SKIPPED
[INFO] Spark Project External ZeroMQ ...................... SKIPPED
[INFO] Spark Project External Kafka ....................... SKIPPED
[INFO] Spark Project Examples ............................. SKIPPED
[INFO] Spark Project External Kafka Assembly .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.995 s
[INFO] Finished at: 2016-05-01T23:33:06+08:00
[INFO] Final Memory: 36M/202M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first)
on project spark-test-tags_2.10: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile
failed. CompileFailed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile
(scala-compile-first) on project spark-test-tags_2.10: Execution scala-compile-first of goal
net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
        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: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.PluginExecutionException: Execution scala-compile-first
of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
Caused by: Compile failed via zinc server
        at sbt_inc.SbtIncrementalCompiler.zincCompile(SbtIncrementalCompiler.java:136)
        at sbt_inc.SbtIncrementalCompiler.compile(SbtIncrementalCompiler.java:86)
        at scala_maven.ScalaCompilerSupport.incrementalCompile(ScalaCompilerSupport.java:303)
        at scala_maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:119)
        at scala_maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:99)
        at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:482)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        ... 21 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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :spark-test-tags_2.10



====================================


Downloading: https://repository.apache.org/content/repositories/releases/org/apache/apache/14/apache-14.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/apache/apache/14/apache-14.pom
Downloading: https://repo.eclipse.org/content/repositories/paho-releases/org/apache/apache/14/apache-14.pom
Downloading: https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/apache/14/apache-14.pom
Downloading: https://oss.sonatype.org/content/repositories/orgspark-project-1113/org/apache/apache/14/apache-14.pom
Downloading: http://repository.mapr.com/maven/org/apache/apache/14/apache-14.pom
Downloading: http://maven.twttr.com/org/apache/apache/14/apache-14.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1: Could not
transfer artifact org.apache:apache:pom:14 from/to central (https://repo1.maven.org/maven2):
Connect to repo1.maven.org:443 [repo1.maven.org/23.235.47.209] failed: Connection timed out
and 'parent.relativePath' points at wrong local POM @ line 22, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.spark:spark-parent_2.10:1.6.1 (/data/spark/spark-1.6.1/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1: Could
not transfer artifact org.apache:apache:pom:14 from/to central (https://repo1.maven.org/maven2):
Connect to repo1.maven.org:443 [repo1.maven.org/23.235.47.209] failed: Connection timed out
and 'parent.relativePath' points at wrong local POM @ line 22, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException





------------------ 原始邮件 ------------------
发件人: "Ted Yu";<yuzhihong@gmail.com>;
发送时间: 2016年5月1日(星期天) 晚上9:50
收件人: "sunday2000"<2314476218@qq.com>; 
抄送: "user"<user@spark.apache.org>; 
主题: Re: Why Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1:Couldnot
transfer artifact org.apache:apache:pom:14 from/to central(https://repo1.maven.org/maven2):repo1.maven.org:
unknown error



FYI

Accessing the link below gave me 'Page does not exist'


I am in California.


I checked the dependency tree of 1.6.1 - I didn't see such dependence.


Can you pastebin related maven output ?


Thanks


On Sun, May 1, 2016 at 6:32 AM, sunday2000 <2314476218@qq.com> wrote:
Seems it is because fail to download this url:
http://maven.twttr.com/org/apache/apache/14/apache-14.pom




------------------ 原始邮件 ------------------
发件人: "Ted Yu";<yuzhihong@gmail.com>;
发送时间: 2016年5月1日(星期天) 晚上9:27
收件人: "sunday2000"<2314476218@qq.com>; 
抄送: "user"<user@spark.apache.org>; 
主题: Re: Why Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1:Could
not transfer artifact org.apache:apache:pom:14 from/to central(https://repo1.maven.org/maven2):
repo1.maven.org: unknown error



bq. Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1

Looks like you were using Spark 1.6.1


Can you check firewall settings ?


I saw similar report from Chinese users.


Consider using proxy.


On Sun, May 1, 2016 at 4:19 AM, sunday2000 <2314476218@qq.com> wrote:
Hi,
  We are compiling spare 1.6.0 in a linux server, while getting this error message. Could
you tell us how to solve it? thanks.


[INFO] Scanning for projects...
Downloading: https://repo1.maven.org/maven2/org/apache/apache/14/apache-14.pom
Downloading: https://repository.apache.org/content/repositories/releases/org/apache/apache/14/apache-14.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/apache/apache/14/apache-14.pom
Downloading: https://repo.eclipse.org/content/repositories/paho-releases/org/apache/apache/14/apache-14.pom
Downloading: https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/apache/14/apache-14.pom
Downloading: https://oss.sonatype.org/content/repositories/orgspark-project-1113/org/apache/apache/14/apache-14.pom
Downloading: http://repository.mapr.com/maven/org/apache/apache/14/apache-14.pom
Downloading: http://maven.twttr.com/org/apache/apache/14/apache-14.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1: Could not
transfer artifact org.apache:apache:pom:14 from/to central (https://repo1.maven.org/maven2):
repo1.maven.org: unknown error and 'parent.relativePath' points at wrong local POM @ line
22, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.spark:spark-parent_2.10:1.6.1 (/data/spark/spark-1.6.1/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.spark:spark-parent_2.10:1.6.1: Could
not transfer artifact org.apache:apache:pom:14 from/to central (https://repo1.maven.org/maven2):
repo1.maven.org: unknown error and 'parent.relativePath' points at wrong local POM @ line
22, column 11: Unknown host repo1.maven.org: unknown error -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Mime
View raw message