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

Fix ArrayIndexOutOfBoundsException issue on compaction after alter rename operation

    XMLWordPrintableJSON

Details

    • Image Bug
    • Status: Resolved
    • Image Major
    • Resolution: Fixed
    • None
    • 1.6.1
    • None
    • None

    Description

      Please find the steps to reproduce the issue:

      1. Create table having dimension and measure columns
      2. load data
      3. rename / add column/ drop column in table
      4. alter set tblproperties('sort_columns'=measure column', 'sort_scope'='local_sort')
      5. load data
      6. perform compaction and find the exception below
         
        Driver stacktrace:
        2019-07-26 19:34:03 ERROR CarbonAlterTableCompactionCommand:345 - Exception in start compaction thread.
        java.lang.Exception: Exception in compaction Job aborted due to stage failure: Task 0 in stage 6.0 failed 1 times, most recent failure: Lost task 0.0 in stage 6.0 (TID 6, localhost, executor driver): java.lang.ArrayIndexOutOfBoundsException: 3
        at org.apache.carbondata.core.scan.wrappers.ByteArrayWrapper.getNoDictionaryKeyByIndex(ByteArrayWrapper.java:81)
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Indhumathi27 Indhumathi Muthumurugesh
              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 - 5h 20m
                  5h 20m