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

Quanlong Huang commented on IMPALA-9152:
----------------------------------------

I believe it's a flasky test failure. I'm trying to reproduce it.

In AuthorizationStmtTest, testRowFilterEnabled runs before 
testColumnMaskEnabled. This can be confirmed in Ranger's access log that create 
& delete row_filter policies come before create & delete col_mask policies:
{code:java}
$ grep 'service/public/v2/api/policy' access_log.2019-11-12.log
127.0.0.1 - - [12/Nov/2019:20:59:35 +0000] "POST /service/public/v2/api/policy 
HTTP/1.1" 200 948 "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:20:59:58 +0000] "DELETE 
/service/public/v2/api/policy?servicename=test_impala&policyname=row_filter 
HTTP/1.1" 204 - "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:20:59:58 +0000] "POST /service/public/v2/api/policy 
HTTP/1.1" 200 953 "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:21:00:26 +0000] "DELETE 
/service/public/v2/api/policy?servicename=test_impala&policyname=row_filter 
HTTP/1.1" 204 - "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:21:00:27 +0000] "POST /service/public/v2/api/policy 
HTTP/1.1" 200 1019 "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:21:01:07 +0000] "DELETE 
/service/public/v2/api/policy?servicename=test_impala&policyname=col_mask 
HTTP/1.1" 204 - "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:21:01:07 +0000] "POST /service/public/v2/api/policy 
HTTP/1.1" 200 1024 "-" "Java/1.8.0_222"
127.0.0.1 - - [12/Nov/2019:21:01:12 +0000] "DELETE 
/service/public/v2/api/policy?servicename=test_impala&policyname=col_mask 
HTTP/1.1" 204 - "-" "Java/1.8.0_222" {code}

Somehow rangerImpalaPlugin_ does not refresh the policies correctly and still 
see the row filtering policy from the previous test, which cause this failure. 
We need to add some cleanup to make sure no row_filtering policies exist in 
testColumnMaskEnabled.

Still trying to reproduce the failure.

> AuthorizationStmtTest.testColumnMaskEnabled failed in precommits.
> -----------------------------------------------------------------
>
>                 Key: IMPALA-9152
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9152
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Anurag Mantripragada
>            Assignee: Quanlong Huang
>            Priority: Major
>
> [~stigahuang] since you are going to work on this stuff, assigning it to you. 
> Please feel free to reassign it. Thank you!
> Encountered here:
> [https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/8738]
> Looks like the test was expecting column masking error but encountered row 
> filtering error.
> {code:java}
> got error:
> Impala does not support row filtering yet. Row filtering is enabled on table: 
> functional.alltypes_view
> expected:
> Impala does not support column masking yet. Column masking is enabled on 
> column: functional.alltypes_view.string_col {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to