Apache Zeppelin Build Build Error

My configuration is as follows:

Ubuntu 15.04 Java 1.7 Spark 1.4.1 Hadoop 2.7 Maven 3.3.3 

I am trying to install Apache Zeppelin after successfully cloning it from github and using the following command

 mvn clean package -DskipTests 

Despite several attempts, I get the following error after some initial success:

[ERROR] Failed to complete the target com.github.eirslett: frontend-maven-plugin: 0.0.23: grunt (build grunt) for the zeppelin-web project: Failed to start the task: "grunt --no-color" failed. (error code 3) → [Help 1]

Any help would be greatly appreciated. thanks in advance

Hello,

Naven Xavier

+5
source share
4 answers

It fails due to karma: the test fails on PhantomJS. Remove the karma test from Gruntfile.js inside the zeppelin-web folder. Worked for me.

+4
source

A pre-built version will be available if you find it. I use this due to build issues

link: https://zeppelin.incubator.apache.org/download.html

0
source

install npm first

 sudo apt-get install npm then go inside zeppelin-0.6.2/zeppelin-web sudo npm install 

then run

 mvn -U clean package -DskipTests -Pspark-2.0 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr -Pscala-2.10 -Dmaven.repo.local=/media/ 
0
source

I know this question is old, but I still have this error when I tried to install Zeppelin on Windows, it could save some time for someone.

To do this, an error was found on Jira, https://issues.apache.org/jira/browse/ZEPPELIN-1239 , and the solution there helped solve the problem.

On line \zeppelin-web\node_modules\grunt\node_modules\grunt-legacy-util\index.js , line 182, change the following

 //args = opts.args || []; cmd = process.execPath; args = [].concat(opts.cmd, opts.args); 
0
source

Source: https://habr.com/ru/post/1234546/


All Articles