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

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

Commit fd64c54f7deefe437dd122bb899625b379109fa7 in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=fd64c54f7 ]

IMPALA-14059: deflake test_hms_event_sync_timeout

test_hms_event_sync_timeout adds a sleep in events processing and runs a
SELECT in Impala after an INSERT in Hive. The Impala SELECT statement is
submitted with sync_hms_events_wait_time_s=2 and it's expected that
changes done in Hive haven't been applied in catalogd yet. However, the
changes is applied by a single event (ADD_PARTITION) and the event
processing delay is just 2s which is not longer enough. Sometimes the
event is applied just before the waitForHmsEvent request times out. So
the query still sees the latest results and fails the test.

This increases the event processing delay to 4s to deflake the test.

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


> TestEventSyncFailures.test_hms_event_sync_timeout assertion error
> -----------------------------------------------------------------
>
>                 Key: IMPALA-14059
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14059
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: gaurav singh
>            Assignee: Quanlong Huang
>            Priority: Critical
>
> h3. Error Message
> assert 1 == 0 + where 1 = len(['0\t0']) + where ['0\t0'] = 
> <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 
> 0x7f1d15d78610>.data
> h3. Stacktrace
> custom_cluster/test_events_custom_configs.py:1733: in 
> test_hms_event_sync_timeout assert len(results.data) == 0 E assert 1 == 0 E + 
> where 1 = len(['0\t0']) E + where ['0\t0'] = 
> <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 
> 0x7f1d15d78610>.data



--
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