You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2016/09/01 08:10: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=15454707#comment-15454707 ] 

Siddharth Seth commented on HIVE-14675:
---------------------------------------

This is a fairly vague jira. While working on another one, I think there were some 5 different paths configured in hive-site.xml. This was created to investigate whether they needed independent removal - if not created under a standard path. There's the warehouse-dir, the derby-dir, some temp dirs etc. I think most are actually cleaned up, and there's nothing to do in this jira.

I see the following when running a mvn test - which leads me to believe that some cleanup happens somewhere in the poms. Then there's the cleanup that you mentioned. beforeTestClass, beforeTest, (and I believe afterTestClass).
{code}
main:
   [delete] Deleting directory ...source/itests/qtest/target/tmp
   [delete] Deleting directory ...source/itests/qtest/target/warehouse
    [mkdir] ...source/itests/qtest/target/tmp
    [mkdir] ...source-source/itests/qtest/target/warehouse
    [mkdir] Created dir: ...source/itests/qtest/target/tmp/conf
     [copy] Copying 15 files to ...source/itests/qtest/target/tmp/conf
{code}

> 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)