Fang-Yu Rao created IMPALA-14868:
------------------------------------

             Summary: TestScannersAllTableFormatsWithLimit.test_limit() could 
fail 
                 Key: IMPALA-14868
                 URL: https://issues.apache.org/jira/browse/IMPALA-14868
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 5.0.0
            Reporter: Fang-Yu Rao
            Assignee: Abhishek Rawat


We found that 
[test_limit()|https://github.com/apache/impala/blob/612a4b6/tests/query_test/test_scanners.py#L221-L227]
 could fail because of insufficient memory.

*Error Message*
{code}
AssertionError: assert not 'Admission result : Queued\nLatest admission queue 
reason : Not enough memory available on host 192.168.124.4:27000. Needed 300.00 
MB but only 0 out of 9.00 GB was available.\n'
 +  where 'Admission result : Queued\nLatest admission queue reason : Not 
enough memory available on host 192.168.124.4:27000. Needed 300.00 MB but only 
0 out of 9.00 GB was available.\n' = 
<tests.common.impala_connection.ImpylaHS2ResultSet object at 0x7fef3d1f4c90>.log
{code}

Stacktrace
{code}
query_test/test_scanners.py:227: in test_limit
    self._test_limit(vector)
        self       = <test_scanners.TestScannersAllTableFormatsWithLimit object 
at 0x7fef3d37ea90>
        vector     = "table_format: rc/snap/block" | "protocol: hs2" | 
"exec_option: {'abort_on_error': 0, 'batch_size': 100, 
'disable_code...sable_codegen_rows_threshold': 0, 
'exec_single_node_rows_threshold': 0, 'num_nodes': 0, 'test_replan': 1, 
'mt_dop': 1}"
query_test/test_scanners.py:241: in _test_limit
    assert not result.log
E   AssertionError: assert not 'Admission result : Queued\nLatest admission 
queue reason : Not enough memory available on host 192.168.124.4:27000. Needed 
300.00 MB but only 0 out of 9.00 GB was available.\n'
E    +  where 'Admission result : Queued\nLatest admission queue reason : Not 
enough memory available on host 192.168.124.4:27000. Needed 300.00 MB but only 
0 out of 9.00 GB was available.\n' = 
<tests.common.impala_connection.ImpylaHS2ResultSet object at 0x7fef3d1f4c90>.log
        i          = 5
        iterations = 50
        limit      = 501
        query      = 'select * from alltypes limit 501'
        query_template = 'select * from alltypes limit %s'
        result     = <tests.common.impala_connection.ImpylaHS2ResultSet object 
at 0x7fef3d1f4c90>
        self       = <test_scanners.TestScannersAllTableFormatsWithLimit object 
at 0x7fef3d37ea90>
        vector     = "table_format: rc/snap/block" | "protocol: hs2" | 
"exec_option: {'abort_on_error': 0, 'batch_size': 100, 
'disable_code...sable_codegen_rows_threshold': 0, 
'exec_single_node_rows_threshold': 0, 'num_nodes': 0, 'test_replan': 1, 
'mt_dop': 1}"
{code}




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