You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Ovidiu-Cristian MARCU <ov...@inria.fr> on 2016/05/23 09:16:56 UTC

Building spark master failed

Hi

I have the following issue when trying to build the latest spark source code on master:

/spark/common/network-common/src/main/java/org/apache/spark/network/util/JavaUtils.java:147: error: cannot find symbol
[error]       if (process != null && process.isAlive()) {
[error]                                     ^
[error]   symbol:   method isAlive()
[error]   location: variable process of type Process
[error] 1 error
[error] Compile failed at May 23, 2016 11:13:58 AM [1.319s]

related to [INFO] Spark Project Networking ........................... FAILURE [  1.495 s]

Am I missing some fix?

Thanks

Best,
Ovidiu

Re: Building spark master failed

Posted by Ovidiu-Cristian MARCU <ov...@inria.fr>.
You’re right, I tought latest will only compile against Java8.
Thanks
 
> On 23 May 2016, at 11:35, Dongjoon Hyun <do...@apache.org> wrote:
> 
> Hi, 
> 
> That is not the latest. 
> 
> The bug was fixed 5 days ago.
> 
> Regards,
> Dongjoon.
> 
> 
> On Mon, May 23, 2016 at 2:16 AM, Ovidiu-Cristian MARCU <ovidiu-cristian.marcu@inria.fr <ma...@inria.fr>> wrote:
> Hi
> 
> I have the following issue when trying to build the latest spark source code on master:
> 
> /spark/common/network-common/src/main/java/org/apache/spark/network/util/JavaUtils.java:147: error: cannot find symbol
> [error]       if (process != null && process.isAlive()) {
> [error]                                     ^
> [error]   symbol:   method isAlive()
> [error]   location: variable process of type Process
> [error] 1 error
> [error] Compile failed at May 23, 2016 11:13:58 AM [1.319s]
> 
> related to [INFO] Spark Project Networking ........................... FAILURE [  1.495 s]
> 
> Am I missing some fix?
> 
> Thanks
> 
> Best,
> Ovidiu
> 


Re: Building spark master failed

Posted by Dongjoon Hyun <do...@apache.org>.
Hi,

That is not the latest.

The bug was fixed 5 days ago.

Regards,
Dongjoon.


On Mon, May 23, 2016 at 2:16 AM, Ovidiu-Cristian MARCU <
ovidiu-cristian.marcu@inria.fr> wrote:

> Hi
>
> I have the following issue when trying to build the latest spark source
> code on master:
>
> /spark/common/network-common/src/main/java/org/apache/spark/network/util/JavaUtils.java:147:
> error: cannot find symbol
> [error]       if (process != null && process.isAlive()) {
> [error]                                     ^
> [error]   symbol:   method isAlive()
> [error]   location: variable process of type Process
> [error] 1 error
> [error] Compile failed at May 23, 2016 11:13:58 AM [1.319s]
>
> related to [INFO] Spark Project Networking ...........................
> FAILURE [  1.495 s]
>
> Am I missing some fix?
>
> Thanks
>
> Best,
> Ovidiu
>