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

Error occurs when loading multiple files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • None

    Description

      Problem:
      Carbon supports loading from multiple file paths at once, but we find that Carbon will throw an exception like "The input file does not exist" when loading multiple files on HDFS.

      For example:
      ex1: LOAD DATA INPATH '/data/source.csv,/data/source2.csv' INTO TABLE test_table
      ex2: LOAD DATA INPATH 'hdfs://ha/data/source.csv,hdfs://ha/data/source2.csv' INTO TABLE test_table

      ex1 will throw an exception saying that source2.csv does not exist.
      ex2 will execute normally.

      Solution:
      We found that carbon takes the PATH as a whole and checks its prefix before spliting it into multiplt paths. So the problem will be solved when we do the prefix checking job for each path after spliting PATH into multiplt paths.

      Attachments

        Issue Links

          Activity

            People

              manhua Manhua Jiang
              manhua Manhua Jiang
              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 - 1.5h
                  1.5h