Re: Not albe to run FP-growth Example

2015-06-17 Thread Xiangrui Meng
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

Re: Not albe to run FP-growth Example

2015-06-15 Thread masoom alam
even if the following POM is also not working: project xmlns=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; parent

Re: Not albe to run FP-growth Example

2015-06-14 Thread masoom alam
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 masoom.a...@wanclouds.net wrote:

Re: Not albe to run FP-growth Example

2015-06-14 Thread masoom alam
This is not working: dependency !-- Spark dependency -- groupIdorg.apache.spark.mlib/groupId artifactIdspark-mlib/artifactId !--version1.3.0/version -- scopeprovided/scope /dependency On Sat, Jun 13, 2015 at 11:56 PM, masoom alam

Re: Not albe to run FP-growth Example

2015-06-14 Thread masoom alam
*Getting the following error:* [INFO] [INFO] [INFO] Building example 0.0.1 [INFO] Downloading:

Not albe to run FP-growth Example

2015-06-13 Thread masoom alam
Hi every one, I am trying to run the FP growth example. I have tried to compile the following POM file: project groupIdcom.oreilly.learningsparkexamples.mini/groupId artifactIdlearning-spark-mini-example/artifactId modelVersion4.0.0/modelVersion nameexample/name

Re: Not albe to run FP-growth Example

2015-06-13 Thread masoom alam
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