You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sujith (JIRA)" <ji...@apache.org> on 2017/11/24 12:58:00 UTC

[jira] [Created] (SPARK-22601) Data load is getting displayed successful on providing non existing hdfs file path

Sujith created SPARK-22601:
------------------------------

             Summary: Data load is getting displayed successful on providing non existing hdfs file path
                 Key: SPARK-22601
                 URL: https://issues.apache.org/jira/browse/SPARK-22601
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.0
            Reporter: Sujith
            Priority: Minor


Data load is getting displayed successful on providing non existing hdfs file path where as in local path proper error message is getting displayed

create table tb2 (a string, b int);
 load data inpath 'hdfs://hacluster/data1.csv' into table tb2
Note:  data1.csv does not exist in HDFS

when local non existing file path is given below error message will be displayed
"LOAD DATA input path does not exist". attached snapshots of behaviour in spark 2.1 and spark 2.2 version



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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