You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/02 17:42:00 UTC

[jira] [Commented] (IMPALA-9702) TestDdlStatements::test_alter_table() and TestMixedPartitions::test_incompatible_avro_partition_in_non_avro_table() consistently fail on S3

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

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

Commit bfdc5bf6af2703127d4ff5611ed049f11b2cb004 in impala's branch refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=bfdc5bf ]

IMPALA-9702: Cleanup unique_database directories

If there are external tables in a database, drop database cascade
won't remove the external table locations. If those locations
are inside the database, then the database directory does not
get removed. Some tests that use unique_database fail when
running for the second time (or with a data snapshot) due to the
preexisting files.

This adds code to remove the database directory for
unique_database. It also adds some debugging statements that
list the files at the beginning of bin/run-all-tests.sh and
again at the end.

Testing:
 - Ran a core job and verified that the unique database
   directories are being removed
 - Ran TestMixedPartitions::test_incompatible_avro_partition_in_non_avro_table()
   multiple times and it passes when it previously failed.

Change-Id: I0530c028e5e7c241dfc054f04c78e2a045c2d035
Reviewed-on: http://gerrit.cloudera.org:8080/16015
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> TestDdlStatements::test_alter_table() and TestMixedPartitions::test_incompatible_avro_partition_in_non_avro_table() consistently fail on S3
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9702
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9702
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.0
>            Reporter: Bikramjeet Vig
>            Assignee: Joe McDonnell
>            Priority: Critical
>         Attachments: diff_files_before_after_tests.txt
>
>
> Two tests consistently fail on S3 after the switch to USE_CDP_HIVE=true by default.
> metadata/test_ddl.py::TestDdlStatements::test_alter_table():
> {noformat}
> metadata/test_ddl.py:445: in test_alter_table
>     multiple_impalad=self._use_multiple_impalad(vector))
> common/impala_test_suite.py:687: in run_test_case
>     self.__verify_results_and_errors(vector, test_section, result, use_db)
> common/impala_test_suite.py:523: in __verify_results_and_errors
>     replace_filenames_with_placeholder)
> common/test_result_verifier.py:456: in verify_raw_results
>     VERIFIER_MAP[verifier](expected, actual)
> common/test_result_verifier.py:278: in verify_query_result_is_equal
>     assert expected_results == actual_results
> E   assert Comparing QueryTestResults (expected vs actual):
> E     1,1,'2012/withslash' == 1,1,'2012/withslash'
> E     2,1,'2012' == 2,1,'2012'
> E     2,1,'2012' == 2,1,'2012'
> E     3,1,'2013' == 3,1,'2013'
> E     3,1,'2013' == 3,1,'2013'
> E     3,1,'2013' == 3,1,'2013'
> E     4,NULL,'NULL' == 4,NULL,'NULL'
> E     4,NULL,'NULL' == 4,NULL,'NULL'
> E     4,NULL,'NULL' == 4,NULL,'NULL'
> E     4,NULL,'NULL' == 4,NULL,'NULL'
> E     4,NULL,'NULL' == 4,NULL,'NULL'
> E     None != 5,NULL,'2013'
> E     None != 5,NULL,'2013'
> E     None != 5,NULL,'2013'
> E     None != 5,NULL,'2013'
> E     None != 5,NULL,'2013'
> E     Number of rows returned (expected vs actual): 11 != 16
> {noformat}
> metadata/test_partition_metadata.py::TestMixedPartitions.test_incompatible_avro_partition_in_non_avro_table():
> {noformat}
> metadata/test_partition_metadata.py:151: in test_incompatible_avro_partition_in_non_avro_table
>     test_file_vars={'$MAIN_TABLE_FORMAT': main_table_format})
> common/impala_test_suite.py:687: in run_test_case
>     self.__verify_results_and_errors(vector, test_section, result, use_db)
> common/impala_test_suite.py:523: in __verify_results_and_errors
>     replace_filenames_with_placeholder)
> common/test_result_verifier.py:456: in verify_raw_results
>     VERIFIER_MAP[verifier](expected, actual)
> common/test_result_verifier.py:278: in verify_query_result_is_equal
>     assert expected_results == actual_results
> E   assert Comparing QueryTestResults (expected vs actual):
> E     1,false,2,3,4,5,6,7,'1985-07-15','c2','my va',1 == 1,false,2,3,4,5,6,7,'1985-07-15','c2','my va',1
> E     None != 1,false,2,3,4,5,6,7,'1985-07-15','c2','my va',1
> E     Number of rows returned (expected vs actual): 1 != 2
> {noformat}



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

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