spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Barker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20497) Unhelpful error messages when trying to load data from file.
Date Thu, 27 Apr 2017 22:12:04 GMT

    [ https://issues.apache.org/jira/browse/SPARK-20497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987797#comment-15987797
] 

Brandon Barker commented on SPARK-20497:
----------------------------------------

Sorry, it appears not. At least this may be useful to discuss with the spark-testing-base
authors.

> Unhelpful error messages when trying to load data from file.
> ------------------------------------------------------------
>
>                 Key: SPARK-20497
>                 URL: https://issues.apache.org/jira/browse/SPARK-20497
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Brandon Barker
>            Priority: Minor
>
> I'm attempting to do the simple task of reproducing the results from the linear regression
example in Spark. I'm using Windows 10.
>   val training = spark.read.format("libsvm")
>  .load("C:Users\\brand\\Documents\\GitHub\\sample_linear_regression_data.txt")
> Although the file is definitely at the specified location, I just get a java.lang.NullPointerException
at this line. The documentation at http://spark.apache.org/docs/latest/sql-programming-guide.html#generic-loadsave-functions
doesn't seem to clear things up. The associated javadocs do do not seem any better.
> In my view, such a simple operation should not be troublesome, but perhaps I've missed
some critical documentation - if so, I apologize. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message