org.apache.spark.sql.AnalysisException

Path does not exist: file:/C:/path/to/my/files/*.csv;

Solutions on the web86

  • Path does not exist: file:/C:/path/to/my/files/*.csv;
  • via Stack Overflow by Yohan Liyanage
    , 10 months ago
    Path does not exist: s3n://data/2016-08-31/*.csv;
  • via GitHub by caprice-j
    , 8 months ago
    Path does not exist: hdfs://spark-cluster-m/tmp/RtmpCrLffh/spark_csv_68cd3e8b80f87463b388b4406d92193740c5053ae737bbedd3026340bc69be98.csv;
  • Stack trace

    • org.apache.spark.sql.AnalysisException: Path does not exist: file:/C:/path/to/my/files/*.csv; at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$14.apply(DataSource.scala:377) at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$14.apply(DataSource.scala:370) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.immutable.List.flatMap(List.scala:344) at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:370) at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:152) at org.apache.spark.sql.DataFrameReader.csv(DataFrameReader.scala:415) at org.apache.spark.sql.DataFrameReader.csv(DataFrameReader.scala:352)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 weeks ago
    Once, 1 month ago
    Once, 5 months ago