spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shangyu Luo <lsy...@gmail.com>
Subject Re: Running pi example error with spark 0.8.0 cdh4 version
Date Thu, 10 Oct 2013 06:49:38 GMT
OK. I think I have solved it.
I do not need to build the 0.8.0 cdh4 version because it has been prebuilt.
Now the pi example can run now.


2013/10/10 Shangyu Luo <lsyurd@gmail.com>

> Hello,
> I downloaded spark 0.8.0 cdh4 version, built and compiled it by
> using SPARK_HADOOP_VERSION=2.0.0-cdh4.4.0 sbt/sbt assembly. It was
> successfully built. But when I tried to run the pi example, I got the
> error: Exception in thread "main" java.lang.NoClassDefFoundError:
> scala/ScalaObject
> I have set up SCALA_HOME and SPARK_HOME in bashrc and they worked well
> for spark 0.8.0 source version (I downloaded and compiled the source
> version before, but I have deleted it now)
> So what's going wrong here? Any advice will be appreciated.
> Thanks!
>
> --
> --
>
> Shangyu, Luo
> Department of Computer Science
> Rice University
>
>


-- 
--

Shangyu, Luo
Department of Computer Science
Rice University

--
Not Just Think About It, But Do It!
--
Success is never final.
--
Losers always whine about their best

Mime
View raw message