> getting ArrayIndexOutOfBoundException during compaction after IUD in cluster
> ----------------------------------------------------------------------------
>
> Key: CARBONDATA-2604
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-2604> Project: CarbonData
> Issue Type: Bug
> Reporter: Rahul Kumar
> Assignee: Rahul Kumar
> Priority: Minor
> Time Spent: 2h
> Remaining Estimate: 0h
>
> *Exception :*
> !image-2018-06-12-19-19-05-257.png!
> *To reproduce the issue follow the following steps :*
> {quote} * *create table brinjal (imei string,AMSize string,channelsId string,ActiveCountry string, Activecity string,gamePointId double,deviceInformationId double,productionDate Timestamp,deliveryDate timestamp,deliverycharge double) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('table_blocksize'='2000','sort_columns'='imei');*
> * *LOAD DATA INPATH '/user/loader/xyz.csv' INTO TABLE brinjal OPTIONS('DELIMITER'=',', 'QUOTECHAR'= '','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'= 'imei,deviceInformationId,AMSize,channelsId,ActiveCountry,Activecity,gamePointId,productionDate,deliveryDate,deliverycharge');*
> * *LOAD DATA INPATH '/user/loader/xyz.csv' INTO TABLE brinjal OPTIONS('DELIMITER'=',', 'QUOTECHAR'= '','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'= 'imei,deviceInformationId,AMSize,channelsId,ActiveCountry,Activecity,gamePointId,productionDate,deliveryDate,deliverycharge');*
> * *LOAD DATA INPATH '/user/loader/xyz.csv' INTO TABLE brinjal OPTIONS('DELIMITER'=',', 'QUOTECHAR'= '','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'= 'imei,deviceInformationId,AMSize,channelsId,ActiveCountry,Activecity,gamePointId,productionDate,deliveryDate,deliverycharge');*
> * *insert into brinjal select * from brinjal;*
> * *update brinjal set (AMSize)= ('8RAM size') where AMSize='4RAM size';*
> * *delete from brinjal where AMSize='8RAM size';*
> * *delete from table brinjal where segment.id IN(0);*
> * *clean files for table brinjal;*
> * *alter table brinjal compact 'minor';*
> * *alter table brinjal compact 'major';*{quote}
>