有没有人试过这个?谷歌出现了一个完全空白,到目前为止这是一个艰巨的过程(我很新,蚂蚁等)。
在下载了大量依赖项之后,坦率地说,一些不明智的使用“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。
任何帮助将不胜感激 - 提前非常感谢。