AslanFong
V2EX  ›  问与答

cloudera repository maven 下载速度极其之慢,如何解决?

  •  
  •   AslanFong · Feb 17, 2019 · 3139 views
    This topic created in 2667 days ago, the information mentioned may be changed or developed.

    在学 spark streaming 的内容,用 maven 构建的项目

    在 pom.xml 里面添加了:

    '''<repositories>
    <repository>
      <id>cloudera</id>
      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    </repository>
    
    maven 的 setting 里面也添加了几个镜像,可是依然下载发生错误。到时发生:
        Error:scalac: missing or invalid dependency detected while loading class file 'StreamingContext.class'.
    

    Could not access type Configuration in value org.apache.hadoop.conf, because it (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies. (Re-run with -Ylog-classpath to see the problematic classpath.)

    A full rebuild may help if 'StreamingContext.class' was compiled against an incompatible version of org.apache.hadoop.conf.
    

    该怎么解决呢?

    AslanFong
        1
    AslanFong  
    OP
       Feb 17, 2019
    各位大佬,是不是只有换网络这条路可以走了?
    下载速度极其之慢,大概要下载到 2020 年这样吧。。
    blueskea
        2
    blueskea  
       Feb 18, 2019 via Android
    我用的笨方法,刷新 jar 包的时候,挂 vpn,下载完关掉 vpn。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5519 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 186ms · UTC 07:49 · PVG 15:49 · LAX 00:49 · JFK 03:49
    ♥ Do have faith in what you're doing.