从源代码构建zeppelin的问题

时间:2015-09-23 03:40:47

标签: apache-zeppelin

我正在尝试使用spark 1.5.0从源代码构建zeppelin并且我的构建失败并出现以下错误

[bala@server incubator-zeppelin]$ mvn install -DskipTests -Dspark.version=1.5.0 -Dhadoop.version=2.6.0 -Drat.skip=true

...
...
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:bower (bower install) on project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. (error code 1) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]     http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :zeppelin-web

不确定为什么会这样。

我还没有在这台机器上安装hadoop,但我不认为这会在构建时出现问题。但我安装了火花1.5。

以下是其他细节

bala@server incubator-zeppelin]$ bower --version
1.5.2
[bala@server incubator-zeppelin]$ npm --version
1.3.6
[bala@server incubator-zeppelin]$ node --version
v0.10.36
[bala@server incubator-zeppelin]$ mvn --version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-   22T17:27:37+05:30)
Maven home: /home/bala/Software/apache-maven-3.3.3
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /home/bala/Software/jdk1.8.0_60/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-229.14.1.el7.x86_64", arch: "amd64",    family: "unix"
[bala@server incubator-zeppelin]$ 

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:0)

我已经修好了。这是因为缺少.bowerrc文件,其中包含正确的代理设置。有一次,我创建了这个文件,构建过程成功完成。

由于