You should add spark-mllib_2.10 as a dependency instead of declaring
it as the artifactId. And always use the same version for spark-core
and spark-mllib. I saw you used 1.3.0 for spark-core but 1.4.0 for
spark-mllib, which is not guaranteed to work. If you set the scope to
"provided", mllib jar wo
even if the following POM is also not working:
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
spark-parent_2.10
org.apache.spark
*Getting the following error:*
[INFO]
[INFO]
[INFO] Building example 0.0.1
[INFO]
Downloading:
http://repo.maven.apache.org/maven2/org/apache/spark/spa
This is not working:
org.apache.spark.mlib
spark-mlib
provided
On Sat, Jun 13, 2015 at 11:56 PM, masoom alam
wrote:
> These two imports are missing and thus FP-growth is not compiling...
>
> import org.apache.spark.*mllib.fpm.FPGrow
These two imports are missing and thus FP-growth is not compiling...
import org.apache.spark.*mllib.fpm.FPGrowth*;
import org.apache.spark.*mllib.fpm.FPGrowthModel*;
How to include the dependency in the POM file?
On Sat, Jun 13, 2015 at 4:26 AM, masoom alam
wrote:
> Thanks for the answer. Any
Thanks for the answer. Any example?
On Jun 13, 2015 2:13 PM, "Sonal Goyal" wrote:
> I think you need to add dependency to spark mllib too.
> On Jun 13, 2015 11:10 AM, "masoom alam" wrote:
>
>> Hi every one,
>>
>> I am trying to run the FP growth example. I have tried to compile the
>> following
Hi every one,
I am trying to run the FP growth example. I have tried to compile the
following POM file:
com.oreilly.learningsparkexamples.mini
learning-spark-mini-example
4.0.0
example
jar
0.0.1
org.apache.spark
spark-core_2.10