hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajat Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13686) TestRecordReaderImpl is deleting target/tmp causing all the tests after it to fail
Date Thu, 05 May 2016 07:47:12 GMT

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

Rajat Khandelwal commented on HIVE-13686:
-----------------------------------------

That is not the case. mvn clean install runs tests in alphabetical order and there are some
tests after this one that use the metastore db, some tests use the conf. 

> TestRecordReaderImpl is deleting target/tmp causing all the tests after it to fail
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-13686
>                 URL: https://issues.apache.org/jira/browse/HIVE-13686
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rajat Khandelwal
>
> The issue was introduced in HIVE-12159 (https://github.com/apache/hive/blame/master/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestRecordReaderImpl.java).
This test deletes target/tmp directory. Because of this, the subsequent tests don't get to
read target/tmp/conf/hive-site.xml, which contains test-specific configurations. Also, target/tmp
has metastore db directory, which also gets deleted causing subsequent tests that use metastore
db to fail too. 
> I'm surprised this issue wasn't caught in pre-commit builds. [~spena] I see that even
the latest pre-commit jobs aren't reporting any errors, while building on local and running
hive-exec test cases causes a bunch of tests to fail. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message