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

时间:2012-01-30 00:56:09

标签: hadoop cloudera hue

有人试过吗?谷歌出现了一个完整的空白,到目前为止这是一个艰难的过程(我很擅长制作,蚂蚁等)。

在下载了大量的依赖项之后,一些坦率地使用'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。

非常感谢任何帮助 - 非常感谢提前。

1 个答案:

答案 0 :(得分:3)

我们撰写了有关此主题的指南:http://gethue.com/start-developing-hue-on-a-mac-in-a-few-minutes/