You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Binita Bharati <bi...@gmail.com> on 2018/03/19 16:43:35 UTC

Unable to download hadoop client 3.0 dependencies from mvn central

Hi,

I have the following dependency added to my pom:

<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-client</artifactId>
    <version>3.0.0</version>
</dependency>

mvn dependency update is failing with the following error:
[ERROR] Failed to execute goal on project hadooppoc: Could not resolve
dependencies for project com.github.binitabharati:hadooppoc:jar:0.0.1:
Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:3.0.0
-> org.apache.hadoop:hadoop-common:jar:3.0.0 ->
org.apache.hadoop:hadoop-auth:jar:3.0.0 ->
com.nimbusds:nimbus-jose-jwt:jar:4.41.1
-> net.minidev:json-smart:jar:2.3-SNAPSHOT: Failed to read artifact
descriptor for net.minidev:json-smart:jar:2.3-SNAPSHOT: *Could not transfer
artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to vmwahcbld01-dev
(http://vmwahcbld01-dev:8081/artifactory/libs-release-local
<http://vmwahcbld01-dev:8081/artifactory/libs-release-local>):
vmwahcbld01-dev: Unknown host vmwahcbld01-dev* -> [Help 1]

My pom does not refer to the unreachable host - vmwahcbld01-dev directly,
but aparently some dependency within hadoop-client is referring to this
host.How can this be fixed ?

-Binita

Re: Unable to download hadoop client 3.0 dependencies from mvn central

Posted by Binita Bharati <bi...@gmail.com>.
I got this resolved, there was an incorrect repository settings under my
${maven.home}/conf/settings.xml
After removing the incorrect entry, mvn dependency update worked fine.

-Binita


On 19 March 2018 at 22:13, Binita Bharati <bi...@gmail.com> wrote:

> Hi,
>
> I have the following dependency added to my pom:
>
> <dependency>
>     <groupId>org.apache.hadoop</groupId>
>     <artifactId>hadoop-client</artifactId>
>     <version>3.0.0</version>
> </dependency>
>
> mvn dependency update is failing with the following error:
> [ERROR] Failed to execute goal on project hadooppoc: Could not resolve
> dependencies for project com.github.binitabharati:hadooppoc:jar:0.0.1:
> Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:3.0.0
> -> org.apache.hadoop:hadoop-common:jar:3.0.0 ->
> org.apache.hadoop:hadoop-auth:jar:3.0.0 -> com.nimbusds:nimbus-jose-jwt:jar:4.41.1
> -> net.minidev:json-smart:jar:2.3-SNAPSHOT: Failed to read artifact
> descriptor for net.minidev:json-smart:jar:2.3-SNAPSHOT: *Could not
> transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to
> vmwahcbld01-dev (http://vmwahcbld01-dev:8081/artifactory/libs-release-local
> <http://vmwahcbld01-dev:8081/artifactory/libs-release-local>):
> vmwahcbld01-dev: Unknown host vmwahcbld01-dev* -> [Help 1]
>
> My pom does not refer to the unreachable host - vmwahcbld01-dev directly,
> but aparently some dependency within hadoop-client is referring to this
> host.How can this be fixed ?
>
> -Binita
>