hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3251) Hive doesn't remove scrach directories while killing running MR job
Date Wed, 19 Dec 2012 15:47:13 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan updated HIVE-3251:
-----------------------------------

    Fix Version/s: 0.10.0
    
> Hive doesn't remove scrach directories while killing running MR job
> -------------------------------------------------------------------
>
>                 Key: HIVE-3251
>                 URL: https://issues.apache.org/jira/browse/HIVE-3251
>             Project: Hive
>          Issue Type: Bug
>          Components: Server Infrastructure
>            Reporter: Gang Tim Liu
>            Assignee: Gang Tim Liu
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3151.patch
>
>
> While killing running MR job, hive doesn't clean up scratch directory (mapred.cache.files).
So that, afterwards, scratch directory is left there in hdfs. HDFS name node doesn't know
it and try to do lease recovery. while such instances happen more, it will eventually crash
namenode.
> The fix is to leverage hdfs clean up functionality. While creating scratch dirs, hive
registers it to hdfs cleanup hook. While killing happens, hdfs will clean them up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message