You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "czh (Jira)" <ji...@apache.org> on 2021/04/01 01:40:00 UTC

[jira] [Created] (SPARK-34925) Spark shell failed to access external file to read content

czh created SPARK-34925:
---------------------------

             Summary: Spark shell failed to access external file to read content
                 Key: SPARK-34925
                 URL: https://issues.apache.org/jira/browse/SPARK-34925
             Project: Spark
          Issue Type: Bug
          Components: Spark Shell
    Affects Versions: 3.0.0
            Reporter: czh


Spark shell failed to access external file to read content

Spark version 3.0, Hadoop version 3.2

Start spark normally, enter spark shell and enter Val B1= sc.textFile ("S3a: / / spark test / a.txt") is normal. When entering B1. Collect(). Foreach (println) to traverse and read the contents of the file, an error is reported

The error message is: java.lang.NumberFormatException : For input string: "100M"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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