You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Quanlong Huang <hu...@gmail.com> on 2018/12/03 09:06:48 UTC

Build failed at branch-2.x again

Hi all,

I encountered a maven failure while building branch-2.x:

*Scanning dependencies of target yarn-extras*

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

Running mvn  -B install -DskipTests

Directory /mnt/volume1/impala-orc/incubator-impala/common/yarn-extras

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

[WARNING] Could not transfer metadata
com.cloudera.cdh:cdh-root:5.16.0-SNAPSHOT/maven-metadata.xml from/to
${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}): No connector available to
access repository ${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}) of type
default using the available factories WagonRepositoryConnectorFactory

[INFO] BUILD FAILURE

[ERROR] Failed to execute goal on project yarn-extras: Could not resolve
dependencies for project org.apache.impala:yarn-extras:jar:0.1-SNAPSHOT:
Failed to collect dependencies for
[org.apache.hadoop:hadoop-common:jar:2.6.0-cdh5.16.0-SNAPSHOT (compile),
org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.16.0-SNAPSHOT (compile),
org.apache.hadoop:hadoop-yarn-common:jar:2.6.0-cdh5.16.0-SNAPSHOT
(compile)]: Failed to read artifact descriptor for
org.codehaus.jackson:jackson-mapper-asl:jar:${cdh.jackson-mapper-asl.version}:
Could not transfer artifact
org.codehaus.jackson:jackson-mapper-asl:pom:${cdh.jackson-mapper-asl.version}
from/to cdh.rcs.releases.repo (
https://repository.cloudera.com/content/groups/cdh-releases-rcs): Illegal
character in path at index 105:
https://repository.cloudera.com/content/groups/cdh-releases-rcs/org/codehaus/jackson/jackson-mapper-asl/${cdh.jackson-mapper-asl.version}/jackson-mapper-asl-${cdh.jackson-mapper-asl.version}.pom
-> [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/DependencyResolutionException

It looks like some changes in cdh-5.16.0-SNAPSHOT jars break this. Shame on
me that still using the 2.x version... Would be really appreciated if
anyone can help to have a look.

Thanks,
Quanlong

Re: Build failed at branch-2.x again

Posted by Fredy Wijaya <fw...@cloudera.com>.
Hi Quanlong,

I created a JIRA for that: https://issues.apache.org/jira/browse/IMPALA-7922
CR is here: https://gerrit.cloudera.org/c/12027/

On Mon, Dec 3, 2018 at 3:07 AM Quanlong Huang <hu...@gmail.com>
wrote:

> Hi all,
>
> I encountered a maven failure while building branch-2.x:
>
> *Scanning dependencies of target yarn-extras*
>
> ========================================================================
>
> Running mvn  -B install -DskipTests
>
> Directory /mnt/volume1/impala-orc/incubator-impala/common/yarn-extras
>
> ========================================================================
>
> [WARNING] Could not transfer metadata
> com.cloudera.cdh:cdh-root:5.16.0-SNAPSHOT/maven-metadata.xml from/to
> ${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}): No connector available to
> access repository ${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}) of type
> default using the available factories WagonRepositoryConnectorFactory
>
> [INFO] BUILD FAILURE
>
> [ERROR] Failed to execute goal on project yarn-extras: Could not resolve
> dependencies for project org.apache.impala:yarn-extras:jar:0.1-SNAPSHOT:
> Failed to collect dependencies for
> [org.apache.hadoop:hadoop-common:jar:2.6.0-cdh5.16.0-SNAPSHOT (compile),
> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.16.0-SNAPSHOT (compile),
> org.apache.hadoop:hadoop-yarn-common:jar:2.6.0-cdh5.16.0-SNAPSHOT
> (compile)]: Failed to read artifact descriptor for
>
> org.codehaus.jackson:jackson-mapper-asl:jar:${cdh.jackson-mapper-asl.version}:
> Could not transfer artifact
>
> org.codehaus.jackson:jackson-mapper-asl:pom:${cdh.jackson-mapper-asl.version}
> from/to cdh.rcs.releases.repo (
> https://repository.cloudera.com/content/groups/cdh-releases-rcs): Illegal
> character in path at index 105:
>
> https://repository.cloudera.com/content/groups/cdh-releases-rcs/org/codehaus/jackson/jackson-mapper-asl/${cdh.jackson-mapper-asl.version}/jackson-mapper-asl-${cdh.jackson-mapper-asl.version}.pom
> -> [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/DependencyResolutionException
>
> It looks like some changes in cdh-5.16.0-SNAPSHOT jars break this. Shame on
> me that still using the 2.x version... Would be really appreciated if
> anyone can help to have a look.
>
> Thanks,
> Quanlong
>