repository.cloudera.com:提供了nodename或servname,或者未知

时间:2013-08-24 03:02:46

标签: maven hadoop hbase cloudera

我的pom.xml:

<dependencies>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-core</artifactId>
      <version>2.0.0-mr1-cdh4.3.1</version>
    </dependency>

    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase</artifactId>
      <version>0.94.10</version>
    </dependency>
 </dependencies>
 <repositories>
    <repository>
         <id>cloudera</id>
         <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </repository>
 </repositories>

在我的浏览器中,我可以从https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/hadoop/hadoop-core/2.0.0-mr1-cdh4.3.1/下载hadoop-core-2.0.0-mr1-cdh4.3.1.jar而没有问题,但是当我尝试使用maven构建我的项目时,我有这个错误:

Could not transfer artifact org.apache.hadoop:hadoop-core:pom:2.0.0-mr1-cdh4.3.1 
from/to cloudera (https://repository.cloudera.com/artifactory/cloudera-repos/):
repository.cloudera.com: nodename nor servname provided, or not known: Unknown host
repository.cloudera.com: nodename nor servname provided, or not known -> [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

==的 UDPATE ==

我可以ping https://repository.cloudera.com

└ $ ping https://repository.cloudera.com
PING https://repository.cloudera.com (220.250.64.27): 56 data bytes
64 bytes from 220.250.64.27: icmp_seq=0 ttl=238 time=45.730 ms

无法ping存储库.cloudera.com

└ $ ping repository.cloudera.com
PING repository.cloudera.com (75.101.141.93): 56 data bytes
Request timeout for icmp_seq 0

0 个答案:

没有答案