[ 
https://issues.apache.org/jira/browse/IMPALA-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655996#comment-16655996
 ] 

Sean Mackrory commented on IMPALA-7726:
---------------------------------------

Both happen, actually. The test initially fail because a test without purge 
cannot find the files in trash. If I comment out the relevant assertions, the 
same test will fail later because a file IS in the trash even though the table 
/ partition was dropped WITH purge.

That's why I suspect a bug in exists(), because the logic just seems inverted, 
but it's working correctly elsewhere and I can't find a flaw in it.

> Drop with purge tests fail against ABFS due to trash misbehavior
> ----------------------------------------------------------------
>
>                 Key: IMPALA-7726
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7726
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>            Priority: Major
>
> In testing IMPALA-7681, I've seen test_drop_partition_with_purge and 
> test_drop_table_with_purge fail because of files not found in the trash are a 
> drop without purge. I've traced that functionality through Hive, which uses 
> Hadoop's Trash API, and traced through a bunch of scenarios in that API with 
> ABFS and I can't see it misbehaving in any way. It also should be pretty 
> FS-agnostic. I also suspected a bug in abfs_utils.py's exists() function, but 
> have not been able to find one.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to