hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15008) Cleanup local workDir when MiniHS2 starts up in FS_ONLY mode
Date Wed, 19 Oct 2016 22:59:58 GMT

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

Prasanth Jayachandran commented on HIVE-15008:
----------------------------------------------

{code}
fs.delete(baseFsDir, true);
{code}

Can you replace the assert with exception? Worried about baseFsDir being empty and assertions
disabled. Alternatively add check for baseFsDir not being empty or enforce atleast 3 level
depth and throw if not. 

> Cleanup local workDir when MiniHS2 starts up in FS_ONLY mode
> ------------------------------------------------------------
>
>                 Key: HIVE-15008
>                 URL: https://issues.apache.org/jira/browse/HIVE-15008
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: HIVE-15008.01.patch, HIVE-15008.02.patch, HIVE-15008.03.patch, HIVE-15008.04.patch
>
>




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

Mime
View raw message