Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3068

cannot load data from hdfs files without hdfs prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • None
    • spark-integration
    • None

    Description

      sql:
      LOAD DATA INPATH '/tmp/test.csv' INTO TABLE test OPTIONS('QUOTECHAR'='"','TIMESTAMPFORMAT'='yyyy/MM/dd HH:mm:ss');
      error:
      org.apache.carbondata.processing.exception.DataLoadingException: The input file does not exist: /tmp/test.csv (state=,code=0)
      but the file "test.csv" is in hdfs path, and hadoop conf "core-site.xml" has the property:

      fs.defaultFS
      hdfs://master:9000

      Attachments

        Issue Links

          Activity

            People

              lianganping lianganping
              lianganping lianganping
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m