I think Mayur pointed to
that code because it includes the relevant initialization code you were
asking about. Running on a cluster doesn't require much change: pass the
spark:// address of the master instead of "local" and add any jars
containing your code. You could set the jars manually, but the linked
code uses JavaSparkContext.jarOfClass(JavaKMeans.class)to get the right jar filename. -Ewen
|
- Running K-Means on a cluster setup Kal El
- Re: Running K-Means on a cluster setup Ognen Duzlevski
- Re: Running K-Means on a cluster setup Mayur Rustagi
- Re: Running K-Means on a cluster setup Kal El
- Re: Running K-Means on a cluster se... Mayur Rustagi
- Re: Running K-Means on a clust... Kal El
- Re: Running K-Means on a c... Ewen Cheslack-Postava
- Re: Running K-Means on... Kal El
- Re: Running K-Means on... Mayur Rustagi
- Re: Running K-Means on... Kal El
- Re: Running K-Means on... Mayur Rustagi
- Re: Running K-Means on a cluster setup Ognen Duzlevski


