Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 错误的符号引用。WebUI.class中的签名指的是包org中的术语eclipse,该术语不可用_Java_Apache Spark - Fatal编程技术网

Java 错误的符号引用。WebUI.class中的签名指的是包org中的术语eclipse,该术语不可用

Java 错误的符号引用。WebUI.class中的签名指的是包org中的术语eclipse,该术语不可用,java,apache-spark,Java,Apache Spark,我正在构建我的spark环境,参考。但是当我使用这个命令:“mvn-Pyarn-Phadoop-2.3-DskipTests-Phive-Phive-thriftserver clean package”时,我遇到了一些错误 [error] bad symbolic reference. A signature in WebUI.class refers to term eclipse [error] in package org which is not available. [error]

我正在构建我的spark环境,参考。但是当我使用这个命令:“mvn-Pyarn-Phadoop-2.3-DskipTests-Phive-Phive-thriftserver clean package”时,我遇到了一些错误

[error] bad symbolic reference. A signature in WebUI.class refers to term eclipse
[error] in package org which is not available.
[error] It may be completely missing from the current classpath, or the version on
[error] the classpath might be incompatible with the version used when compiling WebUI.class.
[error] bad symbolic reference. A signature in WebUI.class refers to term jetty
[error] in value org.eclipse which is not available.
[error] It may be completely missing from the current classpath, or the version on
[error] the classpath might be incompatible with the version used when compiling WebUI.class.
[error]
[error]      while compiling: /download_wlh/spark-1.6.0/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
[error]         during phase: erasure
[error]      library version: version 2.10.5 
[error]     compiler version: version 2.10.5
有人问了一个类似的问题。提及


但是没有提到解决方案。

我遇到了与您尝试使用Java 8和Scala 2.11使用Hadoop 2.4进行Spark分发时相同的问题

我最初的尝试是:
/make-distribution.sh--name hadoop-2.4-custom--tgz-Phadoop-2.4-Dscala-2.11

这产生了中描述的错误

根据那篇文章的建议,我运行了
/dev/change-version-to-2.11.sh
,然后省略了
-Dscala-2.11
,作为建议的注释之一。这就产生了你的确切错误。当我重新添加scala标志时,构建通过了。总之,我解决了以下所有问题:


./dev/change-version-to-2.11.sh
./make-distribution.sh--名称hadoop-2.4-custom--tgz-Phadoop-2.4-Dscala-2.11

在哪个阶段会出现这些错误?如果你能提供被推荐的WebUI签名和它被调用的位置,这也会很有帮助。这对我来说很有用。下面是我使用的命令build/mvn-Pyarn-Phadoop-2.6-Dhadoop.version=2.6.5-Dscala-2.11-DskipTests clean package