Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22601

Data load is getting displayed successful on providing non existing hdfs file path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • Spark Core
    • None

    Description

      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

      Attachments

        Activity

          People

            S71955 Sujith Chacko
            S71955 Sujith Chacko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: