You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/05/20 22:03:01 UTC
[jira] [Comment Edited] (HADOOP-11998) Jenkins has race conditions
when reading the maven repo
[ https://issues.apache.org/jira/browse/HADOOP-11998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553006#comment-14553006 ]
Allen Wittenauer edited comment on HADOOP-11998 at 5/20/15 8:02 PM:
--------------------------------------------------------------------
bq. My understanding is that the Jenkins machine is set up to run one job exclusively at a time. Can anyone confirm that?
Not all of them are. A look at builds.apache.org will show that.
bq. Is it possible to set up a HTTP proxy to cache most of the downloads?
You'll have to ask INFRA that. There's also the issue of configuring maven to use it.
was (Author: aw):
bq. My understanding is that the Jenkins machine is set up to run one job exclusively at a time. Can anyone confirm that?
Not all of them are. A look at builds.apache.org will show that.
bq, Is it possible to set up a HTTP proxy to cache most of the downloads?
You'll have to ask INFRA that. There's also the issue of configuring maven to use it.
> Jenkins has race conditions when reading the maven repo
> -------------------------------------------------------
>
> Key: HADOOP-11998
> URL: https://issues.apache.org/jira/browse/HADOOP-11998
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Haohui Mai
>
> Jenkins builds have race conditions when accessing the directory of the maven repo:
> {noformat}
> Error Message
> org.xml.sax.SAXParseException; systemId: jar:file:/home/jenkins/.m2/repository/org/apache/hadoop/hadoop-common/3.0.0-SNAPSHOT/hadoop-common-3.0.0-SNAPSHOT.jar!/core-default.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
> Stacktrace
> java.lang.RuntimeException: org.xml.sax.SAXParseException; systemId: jar:file:/home/jenkins/.m2/repository/org/apache/hadoop/hadoop-common/3.0.0-SNAPSHOT/hadoop-common-3.0.0-SNAPSHOT.jar!/core-default.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
> {noformat}
> More details can be found in https://builds.apache.org/job/PreCommit-HDFS-Build/11050/testReport/org.apache.hadoop.hdfs.server.datanode/TestDataNodeHotSwapVolumes/testAddOneNewVolume/
> What it looks like here is that there is another build that triggers {{mvn clean}} when {{mvn test}} is still running.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)