You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/22 12:45:00 UTC

[jira] [Commented] (HIVE-26349) TestOperatorCmp/TestReOptimization fail silently due to incompatible configuration

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

Stamatis Zampetakis commented on HIVE-26349:
--------------------------------------------

Looking into the test output under target/surefire-report it turns out that the error causing the failures is the following:

{noformat}
org.apache.hadoop.hive.ql.processors.CommandProcessorException: Invalid configuration. If fallbackStrategy is set to TEST then hive.query.reexecution.strategies should contain 'recompile_without_cbo'
{noformat}

Most likely the cause of the failure is the changes introduced by HIVE-25792.


> TestOperatorCmp/TestReOptimization fail silently due to incompatible configuration
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-26349
>                 URL: https://issues.apache.org/jira/browse/HIVE-26349
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>
> Running TestOperatorCmp, TestReOptimization currently in master (https://github.com/apache/hive/commit/10e5381cb6a4215c0b25fe0cda0a26a084ba6a89) shows BUILD SUCCESS although the tests are actually failing when executing the {{@BeforeClass}} logic. 
> Since the error appears inside {{@BeforeClass}} the failure remains unnoticed and the only  indication that something is wrong is given by the INFO line below:
> {noformat}
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {noformat}
> +Steps to reproduce:+
> {code:bash}
> mvn test -Dtest=TestOperatorCmp
> mvn test -Dtest=TestReOptimization
> {code}
>  
> {noformat}
> [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ hive-exec ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.hadoop.hive.ql.plan.mapping.TestOperatorCmp
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.732 s - in org.apache.hadoop.hive.ql.plan.mapping.TestOperatorCmp
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  18.962 s
> [INFO] Finished at: 2022-06-22T12:49:54+02:00
> [INFO] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)