Hi, While running spark mllib code sample to find frequent itemset I have received an error, which is not understable to me. Could anyone please explain why this happen?
My all code is here : https://github.com/nifrasismail/fpGrowthSparkMllib I have add all maven dependencies. I am not install any hadoop or spark as standalone. I only add spark from dependencies. Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 15/12/15 16:54:54 INFO SparkContext: Running Spark version 1.5.2 15/12/15 16:55:39 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 15/12/15 16:55:39 ERROR SparkContext: Error initializing SparkContext. org.apache.spark.SparkException: A master URL must be set in your configuration at org.apache.spark.SparkContext.<init>(SparkContext.scala:394) at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:61) at com.mycompany.app.FrequentPatternMiner.main(FrequentPatternMiner.java:17) Disconnected from the target VM, address: '127.0.0.1:40024', transport: 'socket' 15/12/15 16:55:39 INFO SparkContext: Successfully stopped SparkContext Exception in thread "main" org.apache.spark.SparkException: A master URL must be set in your configuration at org.apache.spark.SparkContext.<init>(SparkContext.scala:394) at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:61) at com.mycompany.app.FrequentPatternMiner.main(FrequentPatternMiner.java:17) Regards. *M. Nifras Ismail* [image: LinkedIn] <http://lk.linkedin.com/pub/nifras-ismail/54/343/94b>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
