Could you post the stack trace? If you are using Spark 1.3 or 1.4, it
would be easier to save freq itemsets as a Parquet file. -Xiangrui

On Wed, May 20, 2015 at 12:16 PM, Eric Tanner
<eric.tan...@justenough.com> wrote:
> I am having trouble with saving an FP-Growth model as a text file.  I can
> print out the results, but when I try to save the model I get a
> NullPointerException.
>
> model.freqItemsets.saveAsTextFile("c://fpGrowth/model")
>
> Thanks,
>
> Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to