[ https://issues.apache.org/jira/browse/HIVE-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083306#comment-13083306 ]
MIS commented on HIVE-2181: --------------------------- -1 for the issue. What if I'm running multiple hive servers on different port in the same machine {With my metastore db on a mysql server}, then if one of the server instances restarts, it would end up deleting the scratch dir, which would affect other running instances as well. Even if we specify different scratch dir for each of the instances, I doubt about the value add from this property. > Clean up the scratch.dir (tmp/hive-root) while restarting Hive server. > ------------------------------------------------------------------------ > > Key: HIVE-2181 > URL: https://issues.apache.org/jira/browse/HIVE-2181 > Project: Hive > Issue Type: Bug > Components: Server Infrastructure > Affects Versions: 0.8.0 > Environment: Suse linux, Hadoop 20.1, Hive 0.8 > Reporter: sanoj mathew > Assignee: Chinna Rao Lalam > Priority: Minor > Labels: patch > Fix For: 0.8.0 > > Attachments: HIVE-2181.patch > > Original Estimate: 48h > Remaining Estimate: 48h > > Now queries leaves the map outputs under scratch.dir after execution. If the > hive server is stopped we need not keep the stopped server's map oputputs. So > whle starting the server we can clear the scratch.dir. This can help in > improved disk usage. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira