[jira] [Updated] (CARBONDATA-3298) Logs are getting printed when clean files is executed for old stores

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-3298) Logs are getting printed when clean files is executed for old stores

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Indhumathi Muthumurugesh updated CARBONDATA-3298:
-------------------------------------------------
    Description:
 Please run the below queries to reproduce the issue.

In old store:

create table log(a int, b string) stored by 'carbondata';

insert into log values(1, 'abc');

delete from log where b = 'abc';

clean files for table log;

In new store , refresh and perform insert & delete operation and execute clean files command.

In this case, logs are getting printed for already deleted segments as below

"Files are not found in segment "location" it seems, files are already being deleted"

 

  was:
 Please run the below queries to reproduce the issue.

create table log(a int, b string) stored by 'carbondata';

insert into log values(1, 'abc');

delete from log where b = 'abc';

clean files for table log;

Again perform insert & delete operation and execute clean files command.

In this case, logs are getting printed for already deleted segments

 


> Logs are getting printed when clean files is executed for old stores
> --------------------------------------------------------------------
>
>                 Key: CARBONDATA-3298
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3298
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Indhumathi Muthumurugesh
>            Priority: Minor
>
>  Please run the below queries to reproduce the issue.
> In old store:
> create table log(a int, b string) stored by 'carbondata';
> insert into log values(1, 'abc');
> delete from log where b = 'abc';
> clean files for table log;
> In new store , refresh and perform insert & delete operation and execute clean files command.
> In this case, logs are getting printed for already deleted segments as below
> "Files are not found in segment "location" it seems, files are already being deleted"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)