gpt4 book ai didi

hadoop - 如何在 Mac OS X Lion 上安装 Cloudera Hue?

转载 作者:可可西里 更新时间:2023-11-01 14:16:56 31 4
gpt4 key购买 nike

有人试过吗?谷歌完全空白,到目前为止这是一个艰巨的过程(我很新, Ant 等)。

在下载了大量的依赖项之后,坦率地说,不明智地使用了“ln -s”和大量的“sudo”……我终于遇到了一个我无法克服的错误。

$ cd /Users/bob/Downloads/hue-1.2.0
$ sudo make install

[snip]

--- Building Hadoop plugins
cd /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java && ant -Dbuild.dir=/Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/build/java -Dhadoop.home=/usr/lib/hadoop -Dplugins.version=1.2.0 jar
Buildfile: /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/build.xml

init:

compile-gen:
[echo] contrib: hue
[javac] /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/build.xml:69: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 55 source files to /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/build/java/classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

compile:
[echo] contrib: hue
[echo] src dir: /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/src/java
[javac] /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/build.xml:85: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 10 source files to /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/build/java/classes
[javac] /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/src/java/org/apache/hadoop/mapred/ThriftJobTrackerPlugin.java:1036: getMapCounters(org.apache.hadoop.mapred.Counters) in org.apache.hadoop.mapred.JobInProgress cannot be applied to ()
[javac] JTThriftUtils.toThrift(jip.getMapCounters()));
[javac] ^
[javac] /Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/src/java/org/apache/hadoop/mapred/ThriftJobTrackerPlugin.java:1038: getReduceCounters(org.apache.hadoop.mapred.Counters) in org.apache.hadoop.mapred.JobInProgress cannot be applied to ()
[javac] JTThriftUtils.toThrift(jip.getReduceCounters()));
[javac] ^
[javac] 2 errors

BUILD FAILED
/Users/bob/Downloads/hue-1.2.0/desktop/libs/hadoop/java/build.xml:85: Compile failed; see the compiler error output for details.

我在 Mac OS X 10.7.2 (Lion) 上运行 Hadoop CDH3 (hadoop-0.20.2-cdh3u2),Hue 1.2.0。

如有任何帮助,我们将不胜感激 - 在此先致谢。

最佳答案

关于hadoop - 如何在 Mac OS X Lion 上安装 Cloudera Hue?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9058260/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com