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

Query Failed for 0 byte deletedelta file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: data-query, sql
    • Labels:
      None

      Description

      When delete is failed on write step because of any exception from hdfs . Currently 0 bye deletedelta file is created and not getting cleaned up . 

      So when any Select Query is triggered , Select Query is failed with Exception 

      Problem in loading segment blocks. 

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 
        at org.apache.carbondata.core.datastore.filesystem.AbstractDFSCarbonFile.getLocations(AbstractDFSCarbonFile.java:514) 
        at org.apache.carbondata.core.indexstore.BlockletDataMapIndexStore.getAll(BlockletDataMapIndexStore.java:142) 
        ... 109 more

       

       

        Attachments

          Activity

            People

            • Assignee:
              Bjangir Babulal
              Reporter:
              Bjangir Babulal
            • 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 - 11h 50m
                11h 50m