You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dulaj Rajitha (JIRA)" <ji...@apache.org> on 2016/03/24 05:32:25 UTC

[jira] [Closed] (SPARK-14093) org.apache.spark.ml.recommendation.ALSModel.save method cannot be used with HDFS

     [ https://issues.apache.org/jira/browse/SPARK-14093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dulaj Rajitha closed SPARK-14093.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

I was able to solve the issue by using the ALSModel.write().saveImpl( hdfsPath) method to save to the HDFS

> org.apache.spark.ml.recommendation.ALSModel.save method cannot be used with HDFS
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-14093
>                 URL: https://issues.apache.org/jira/browse/SPARK-14093
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API, ML
>    Affects Versions: 1.6.0
>            Reporter: Dulaj Rajitha
>             Fix For: 1.6.0
>
>
> ALSModel.save(path) is not working for HDFS paths and it gives  java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.1.71/res/als.model, expected: file:/// 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org