[ https://issues.apache.org/jira/browse/HIVE-21816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855756#comment-16855756 ]
Naveen Gangam commented on HIVE-21816: -------------------------------------- Its not clear what the exact test failure is because the process ran out of heap space before publishing the test logs. {code} java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) at java.lang.StringBuffer.append(StringBuffer.java:270) at org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:293) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:546) {code} But these failures are different from the prior failures. The same tests passed in the prior run without any changes in the code. So it must be intermittent. I will re-post the patch for a clean run. > HMS Translation: Refactor tests to work with ACID tables. > --------------------------------------------------------- > > Key: HIVE-21816 > URL: https://issues.apache.org/jira/browse/HIVE-21816 > 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" capability. > 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 (v7.6.3#76005)