You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Marco Mistroni <mm...@gmail.com> on 2016/02/25 22:54:25 UTC

PLease help: installation of spark 1.6.0 on ubuntu fails

Hello all
 could anyone help?
i have tried to install spark 1.6.0 on ubuntu, but the installation failed
Here are my steps

1. download spark (successful)

31  wget http://d3kbcqa49mib13.cloudfront.net/spark-1.6.0.tgz

33  tar -zxf spark-1.6.0.tgz



2. cd spark-1.6.0

2.1 sbt assembly



error] /home/vagrant/spark-1.6.0/project/SparkBuild.scala:19: object file
is not a member of package java.nio

error] import java.nio.file.Files

error]                 ^

error] /home/vagrant/spark-1.6.0/project/SparkBuild.scala:465: not found:
value Files

error]           Files.copy(jar.toPath, dest.toPath)

error]           ^
error] two errors foun

could anyone assist?
kind regards

Re: PLease help: installation of spark 1.6.0 on ubuntu fails

Posted by "Shixiong(Ryan) Zhu" <sh...@databricks.com>.
Please use Java 7 instead.

On Thu, Feb 25, 2016 at 1:54 PM, Marco Mistroni <mm...@gmail.com> wrote:

> Hello all
>  could anyone help?
> i have tried to install spark 1.6.0 on ubuntu, but the installation failed
> Here are my steps
>
> 1. download spark (successful)
>
> 31  wget http://d3kbcqa49mib13.cloudfront.net/spark-1.6.0.tgz
>
> 33  tar -zxf spark-1.6.0.tgz
>
>
>
> 2. cd spark-1.6.0
>
> 2.1 sbt assembly
>
>
>
> error] /home/vagrant/spark-1.6.0/project/SparkBuild.scala:19: object file
> is not a member of package java.nio
>
> error] import java.nio.file.Files
>
> error]                 ^
>
> error] /home/vagrant/spark-1.6.0/project/SparkBuild.scala:465: not found:
> value Files
>
> error]           Files.copy(jar.toPath, dest.toPath)
>
> error]           ^
> error] two errors foun
>
> could anyone assist?
> kind regards
>