You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/08/31 13:55:20 UTC

[jira] [Commented] (HIVE-14675) Ensure directories are cleaned up on test cleanup in QTestUtil

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

Peter Vary commented on HIVE-14675:
-----------------------------------

Hi,

I am not sure, which directories are you referring to, but here is what I found:
- Typically beforeClass, the QTestUtil.cleanup is called, which removes every file in the warehouse directory
- Typically after the tests, the QTestUtil.clearTablesCreatedDuringTests is called, which removes every directory which is not srcTable. This one is called beforeClass as well

In the pom.xml I have not found any directory removal jet (other than target with the clean). This does not mean there are not any, just not yet found them :)

If you could elaborate more, which directories are you interested in, I would be happy to help.

Thanks,
Peter

> Ensure directories are cleaned up on test cleanup in QTestUtil
> --------------------------------------------------------------
>
>                 Key: HIVE-14675
>                 URL: https://issues.apache.org/jira/browse/HIVE-14675
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>
> Need to verify whether they are cleaned up or not. There's 4-5 different directories involved. If I'm not mistaken, they get cleaned up before each test invocation via mvn.



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