hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-21816) HMS Translation: Refactor tests to work with ACID tables.
Date Thu, 06 Jun 2019 05:06:00 GMT


Hive QA commented on HIVE-21816:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16044 tests executed
*Failed tests:*
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=272)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed

This message is automatically generated.

ATTACHMENT ID: 12970949 - PreCommit-HIVE-Build

> HMS Translation: Refactor tests to work with ACID tables.
> ---------------------------------------------------------
>                 Key: HIVE-21816
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 4.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Major
>         Attachments: HIVE-21816.patch, HIVE-21816.patch, HIVE-21816.patch, HIVE-21816.patch,
> 1) TestHiveMetaStore unit tests does not work for full ACID tables as the TransactionalValidationListener
enforces that this table use AcidIO. The Orc IO files are only included in the hive-exec jars
that are not used by tests under standalone-metastore module. Even adding a test-scoped dependency
on hive-exec did not work. I had to relocate these tests into itests.
> 2) Implementation of logic that allows skipping of translation via the use of "MANAGERAWMETADATA"
> 3) Fixed some test bugs as the test was not failing originally when the createTable failed
because of the issue in #1. As a result, about 3 tests never ran fully and never failed. The
tests now fail if there are issues.
> 4) Refactoring of the code in the DefaultTransformer to make static lists of capabilities.
The return capabilities now is dependent on the table capabilities, the processor capabilities
and the accessType assigned to the table.

This message was sent by Atlassian JIRA

View raw message