You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Soheil Pourbafrani <so...@gmail.com> on 2018/04/30 13:10:41 UTC

How to compile Zeppelin with just some desired interpreter

I downlodaed source of Zeppelin 0.8.1 from github and using the command
mvn clean package -Pspark-2.1 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr
-Pscala-2.11 -DskipTests -Pbuild-distr

but it errors:
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project zeppelin-bigquery: Compilation failure:
Compilation failure:
[ERROR] /home/Downloads/untitled
folder/zeppelin-branch-0.8/bigquery/src/test/java/org/apache/zeppelin/bigquery/BigQueryInterpreterTest.java:[132,1]
illegal start of type

It's about big query
is it possible to compile Zepplin including just Spark and Cassandra
interpreter?

Re: How to compile Zeppelin with just some desired interpreter

Posted by Soheil Pourbafrani <so...@gmail.com>.
Greate man!

On Mon, Apr 30, 2018 at 8:16 PM, Ruslan Dautkhanov <da...@gmail.com>
wrote:

> You could also add a list of interpreters that you'd like to exclude from
> the build:
>
> maven ... -pl '!cassandra,!bigquery,...'
>
>
>
> --
> Ruslan Dautkhanov
>
> On Mon, Apr 30, 2018 at 7:53 AM, Soheil Pourbafrani <soheil.ir08@gmail.com
> > wrote:
>
>> -DskipTests is in the command?
>>
>> On Mon, Apr 30, 2018 at 6:17 PM, Jeff Zhang <zj...@gmail.com> wrote:
>>
>>>
>>> Add -DskipTests to disable test
>>>
>>>
>>> Soheil Pourbafrani <so...@gmail.com>于2018年4月30日周一 下午9:11写道:
>>>
>>>> I downlodaed source of Zeppelin 0.8.1 from github and using the command
>>>> mvn clean package -Pspark-2.1 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr
>>>> -Pscala-2.11 -DskipTests -Pbuild-distr
>>>>
>>>> but it errors:
>>>> Failed to execute goal org.apache.maven.plugins:maven
>>>> -compiler-plugin:3.1:testCompile (default-testCompile) on project
>>>> zeppelin-bigquery: Compilation failure: Compilation failure:
>>>> [ERROR] /home/Downloads/untitled folder/zeppelin-branch-0.8/big
>>>> query/src/test/java/org/apache/zeppelin/bigquery/BigQueryInterpreterTest.java:[132,1]
>>>> illegal start of type
>>>>
>>>> It's about big query
>>>> is it possible to compile Zepplin including just Spark and Cassandra
>>>> interpreter?
>>>>
>>>
>>
>

Re: How to compile Zeppelin with just some desired interpreter

Posted by Ruslan Dautkhanov <da...@gmail.com>.
You could also add a list of interpreters that you'd like to exclude from
the build:

maven ... -pl '!cassandra,!bigquery,...'



-- 
Ruslan Dautkhanov

On Mon, Apr 30, 2018 at 7:53 AM, Soheil Pourbafrani <so...@gmail.com>
wrote:

> -DskipTests is in the command?
>
> On Mon, Apr 30, 2018 at 6:17 PM, Jeff Zhang <zj...@gmail.com> wrote:
>
>>
>> Add -DskipTests to disable test
>>
>>
>> Soheil Pourbafrani <so...@gmail.com>于2018年4月30日周一 下午9:11写道:
>>
>>> I downlodaed source of Zeppelin 0.8.1 from github and using the command
>>> mvn clean package -Pspark-2.1 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr
>>> -Pscala-2.11 -DskipTests -Pbuild-distr
>>>
>>> but it errors:
>>> Failed to execute goal org.apache.maven.plugins:maven
>>> -compiler-plugin:3.1:testCompile (default-testCompile) on project
>>> zeppelin-bigquery: Compilation failure: Compilation failure:
>>> [ERROR] /home/Downloads/untitled folder/zeppelin-branch-0.8/big
>>> query/src/test/java/org/apache/zeppelin/bigquery/BigQueryInterpreterTest.java:[132,1]
>>> illegal start of type
>>>
>>> It's about big query
>>> is it possible to compile Zepplin including just Spark and Cassandra
>>> interpreter?
>>>
>>
>

Re: How to compile Zeppelin with just some desired interpreter

Posted by Soheil Pourbafrani <so...@gmail.com>.
-DskipTests is in the command?

On Mon, Apr 30, 2018 at 6:17 PM, Jeff Zhang <zj...@gmail.com> wrote:

>
> Add -DskipTests to disable test
>
>
> Soheil Pourbafrani <so...@gmail.com>于2018年4月30日周一 下午9:11写道:
>
>> I downlodaed source of Zeppelin 0.8.1 from github and using the command
>> mvn clean package -Pspark-2.1 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr
>> -Pscala-2.11 -DskipTests -Pbuild-distr
>>
>> but it errors:
>> Failed to execute goal org.apache.maven.plugins:
>> maven-compiler-plugin:3.1:testCompile (default-testCompile) on project
>> zeppelin-bigquery: Compilation failure: Compilation failure:
>> [ERROR] /home/Downloads/untitled folder/zeppelin-branch-0.8/
>> bigquery/src/test/java/org/apache/zeppelin/bigquery/
>> BigQueryInterpreterTest.java:[132,1] illegal start of type
>>
>> It's about big query
>> is it possible to compile Zepplin including just Spark and Cassandra
>> interpreter?
>>
>

Re: How to compile Zeppelin with just some desired interpreter

Posted by Jeff Zhang <zj...@gmail.com>.
Add -DskipTests to disable test


Soheil Pourbafrani <so...@gmail.com>于2018年4月30日周一 下午9:11写道:

> I downlodaed source of Zeppelin 0.8.1 from github and using the command
> mvn clean package -Pspark-2.1 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr
> -Pscala-2.11 -DskipTests -Pbuild-distr
>
> but it errors:
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
> (default-testCompile) on project zeppelin-bigquery: Compilation failure:
> Compilation failure:
> [ERROR] /home/Downloads/untitled
> folder/zeppelin-branch-0.8/bigquery/src/test/java/org/apache/zeppelin/bigquery/BigQueryInterpreterTest.java:[132,1]
> illegal start of type
>
> It's about big query
> is it possible to compile Zepplin including just Spark and Cassandra
> interpreter?
>