Thanks for the answer. Any example?
On Jun 13, 2015 2:13 PM, "Sonal Goyal" <sonalgoy...@gmail.com> wrote:

> I think you need to add dependency to spark mllib too.
> On Jun 13, 2015 11:10 AM, "masoom alam" <masoom.a...@wanclouds.net> wrote:
>
>> Hi every one,
>>
>> I am trying to run the FP growth example. I have tried to compile the
>> following POM file:
>>
>> <project>
>>     <groupId>com.oreilly.learningsparkexamples.mini</groupId>
>>     <artifactId>learning-spark-mini-example</artifactId>
>>     <modelVersion>4.0.0</modelVersion>
>>     <name>example</name>
>>     <packaging>jar</packaging>
>>     <version>0.0.1</version>
>>     <dependencies>
>>         <dependency> <!-- Spark dependency -->
>>             <groupId>org.apache.spark</groupId>
>>             <artifactId>spark-core_2.10</artifactId>
>>             <version>1.3.0</version>
>>             <scope>provided</scope>
>>         </dependency>
>>     </dependencies>
>>     <properties>
>>         <java.version>1.7</java.version>
>>     </properties>
>>     <build>
>>         <pluginManagement>
>>             <plugins>
>>                 <plugin> <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-compiler-plugin</artifactId>
>>                     <version>3.1</version>
>>                     <configuration>
>>                         <source>${java.version}</source>
>>                         <target>${java.version}</target>
>>                     </configuration>
>>                 </plugin>
>>         </plugins>
>>     </pluginManagement>
>> </build>
>> </project>
>>
>> It successfully builds the project, but IDE is complaining
>> that: Error:(29, 34) java: package org.apache.spark.mllib.fpm does not exist
>>
>> Just as a side note, I downloaded Version 1.3 of Spark so FP-growth
>> algorithm should be part of it?
>>
>> Thanks.
>>
>

Reply via email to