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

ASF subversion and git services commented on IMPALA-15397:
----------------------------------------------------------

Commit d757d3dfe5c7cdcc48aed2064ed28bbed3ef9ffe in impala's branch 
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d757d3dfe ]

IMPALA-15397: Update test after S3 reports encrypted

After IMPALA-15291, S3 files now report as encrypted, so update
IS_ENCRYPTED for test_io_metrics.

Change-Id: I3f6739353d77a1fe1ce1b21cbab5009879f69c3b
Reviewed-on: http://gerrit.cloudera.org:8080/24915
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> TestIOMetrics::test_local_read fails on S3 with encrypted-bytes-read
> --------------------------------------------------------------------
>
>                 Key: IMPALA-15397
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15397
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Test
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>
> S3 test runs fail after IMPALA-15291 with
> {code:java}
> query_test/test_io_metrics.py:64: in test_local_read
>     assert(value == 0)
> E   assert 8400337208 == 0
> E     +8400337208
> E     -0
>         append_metric = <function 
> TestIOMetrics.test_local_read.<locals>.append_metric at 0x7f427dbd7c40>
>         expect_nonzero_metrics = ['impala-server.io-mgr.bytes-read']
>         expect_zero_metrics = ['impala-server.io-mgr.encrypted-bytes-read', 
> 'impala-server.io-mgr.erasure-coded-bytes-read', 
> 'impala-server.io-mgr.short-circuit-bytes-read', 
> 'impala-server.io-mgr.local-bytes-read']
>         metric     = 'impala-server.io-mgr.encrypted-bytes-read'
>         nation_data_file_length = 2199
>         nonzero_after = [8400337208]
>         nonzero_before = [8400335009]
>         result     = <tests.common.impala_connection.ImpylaHS2ResultSet 
> object at 0x7f427fe689d0>
>         self       = <test_io_metrics.TestIOMetrics object at 0x7f427dbf4e10>
>         value      = 8400337208
>         zero_values = [8400337208, 0, 0, 0] {code}
> [https://github.com/apache/impala/commit/a921854ac4bd6c2e8a5b2ba896aa639af12f0a08#diff-b2e0e466ef8fb24ddefdb5635a2b146ecccd5b4d8acf119ecc2749ea92f86317R172]
>  started recording whether a file is encrypted generally, where it previously 
> only worked for Ozone. S3 appears to report that files are encrypted.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to