hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8025) change default distcp log location to be /tmp rather than cwd
Date Mon, 06 Feb 2012 23:29:00 GMT

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

Allen Wittenauer commented on HADOOP-8025:
------------------------------------------

FWIW, we forcibly remove stuff from /tmp after 3 days via a simple perl script that does time
conversions etc.  Putting that policy in place + enforcement deals with the brokenness that
is Pig and just general users being bad.

But right now, instead of leaving this cruft in /tmp, distcp is likely spreading zero length
files throughout your entire file system. Luckily, distcp uses a fairly easily recognizable
and random filename.  With this patch, this is now in /tmp and easily dealt a rm.

Like most of my patches, I expect this patch has 0 chance of actually getting committed and
is only here for others that want a fix.

                
> change default distcp log location to be /tmp rather than cwd
> -------------------------------------------------------------
>
>                 Key: HADOOP-8025
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8025
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Allen Wittenauer
>            Priority: Trivial
>         Attachments: HADOOP-8025-branch-1.0.txt
>
>
> distcp loves to leave emtpy files around.  this puts them in /tmp so at least they are
easy to find and kill.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message