安装Zeppelin问题:没有网络如何修复依赖?

安装Zeppelin问题:没有网络如何修复依赖?

我正在专用网络中安装 Zeppelin。

到目前为止,有四个模块需要构建本地存储库。

zeppelin-beam 
zeppelin-bigquery 
zeppelin-postgresql 
zeppelin-shell

我从以下日志中获取了此信息。

    Install beam(org.apache.zeppelin:zeppelin-beam:0.7.1) to /opt/zeppelin-0.7.1-bin-all/interpreter/beam ...
    org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-beam:0.7.1
            at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:181)
            at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:131)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:79)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:96)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:88)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:172)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.installAll(InstallInterpreter.java:122)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:272)
    Install bigquery(org.apache.zeppelin:zeppelin-bigquery:0.7.1) to /opt/zeppelin-0.7.1-bin-all/interpreter/bigquery .        ..
    org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-bigquery:0.7.1
            at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:181)
            at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:131)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:79)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:96)
            at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:88)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:172)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.installAll(InstallInterpreter.java:122)
            at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:272)
org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-postgresql:0.7.        1
        at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:181)
        at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:131)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:79)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:96)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:88)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:172)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.installAll(InstallInterpreter.java:122)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:272)
org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-shell:0.7.1
        at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:181)
        at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:131)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:79)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:96)
        at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:88)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:172)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.installAll(InstallInterpreter.java:122)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:272)

齐柏林飞艇光束

例如,要编译此模块,可以从此 java 获取依赖项信息pom.xml

https://github.com/apache/zeppelin/blob/61aeeaf10f340879337b6f19c5a9b3aaaa4eca9e/beam/pom.xml

    <dependency>
  <groupId>org.apache.spark</groupId>
  <artifactId>spark-core_2.10</artifactId>
  <version>${beam.spark.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>slf4j-log4j12</artifactId>
      <groupId>org.slf4j</groupId>
    </exclusion>
    <exclusion>
      <artifactId>netty-all</artifactId>
      <groupId>io.netty</groupId>
    </exclusion>
    <exclusion>
      <artifactId>akka-actor_2.10</artifactId>
      <groupId>org.spark-project.akka</groupId>
    </exclusion>
    <exclusion>
      <artifactId>akka-remote_2.10</artifactId>
      <groupId>org.spark-project.akka</groupId>
    </exclusion>
    <exclusion>
      <artifactId>akka-slf4j_2.10</artifactId>
      <groupId>org.spark-project.akka</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.spark</groupId>
  <artifactId>spark-streaming_2.10</artifactId>
  <version>${beam.spark.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-mapreduce-client-core</artifactId>
  <version>${beam.hadoop.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>slf4j-log4j12</artifactId>
      <groupId>org.slf4j</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-common</artifactId>
  <version>${beam.hadoop.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>slf4j-log4j12</artifactId>
      <groupId>org.slf4j</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.zeppelin</groupId>
  <artifactId>zeppelin-scio_${scala.binary.version}</artifactId>
  <version>${project.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-hdfs</artifactId>
  <version>${beam.hadoop.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-client</artifactId>
  <version>${beam.hadoop.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>slf4j-log4j12</artifactId>
      <groupId>org.slf4j</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-annotations</artifactId>
  <version>${beam.hadoop.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-yarn-common</artifactId>
  <version>${beam.hadoop.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.hadoop</groupId>
  <artifactId>hadoop-mapreduce-client-common</artifactId>
  <version>${beam.hadoop.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>slf4j-log4j12</artifactId>
      <groupId>org.slf4j</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>com.thoughtworks.qdox</groupId>
  <artifactId>qdox</artifactId>
  <version>2.0-M3</version>
</dependency>

<dependency>
  <groupId>org.apache.beam</groupId>
  <artifactId>beam-runners-parent</artifactId>
  <version>${beam.beam.version}</version>
  <type>pom</type>
</dependency>

<dependency>
  <groupId>org.apache.beam</groupId>
  <artifactId>beam-runners-core-java</artifactId>
  <version>${beam.beam.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>google-http-client-jackson2</artifactId>
      <groupId>com.google.http-client</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.beam</groupId>
  <artifactId>beam-runners-direct-java</artifactId>
  <version>${beam.beam.version}</version>
</dependency>

<dependency>
  <groupId>javax.servlet</groupId>
  <artifactId>javax.servlet-api</artifactId>
  <version>${servlet.api.version}</version>
</dependency>

<dependency>
  <groupId>org.apache.beam</groupId>
  <artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
  <version>${beam.beam.version}</version>
  <exclusions>
    <exclusion>
      <artifactId>google-http-client-jackson2</artifactId>
      <groupId>com.google.http-client</groupId>
    </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>org.apache.beam</groupId>
  <artifactId>beam-runners-spark</artifactId>
  <version>${beam.beam.version}</version>
  <type>jar</type>
</dependency>

<dependency>
  <groupId>${project.groupId}</groupId>
  <artifactId>zeppelin-interpreter</artifactId>
  <version>${project.version}</version>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-exec</artifactId>
  <version>${commons.exec.version}</version>
</dependency>

<dependency>
  <groupId>junit</groupId>
  <artifactId>junit</artifactId>
  <scope>test</scope>
</dependency>

我的问题围绕背景信息: 1. 哪些 Maven 存储库包含这些依赖项? 2. 网站上有多少种存储库? 3. 维持它们的种类/来源是什么?

相关内容