hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12352) Delay in checkpointing Trash can leave trash for 2 intervals before deleting
Date Tue, 25 Aug 2015 08:11:46 GMT

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

Hudson commented on HADOOP-12352:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #1036 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1036/])
HADOOP-12352. Delay in checkpointing Trash can leave trash for 2 intervals before deleting.
Contributed by Casey Brotherton. (harsh: rev af78767870b8296886c03f8be24cf13a4e2bd4b0)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java


> Delay in checkpointing Trash can leave trash for 2 intervals before deleting
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-12352
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12352
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: trash
>    Affects Versions: 2.7.1
>            Reporter: Casey Brotherton
>            Assignee: Casey Brotherton
>            Priority: Trivial
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8118.001.patch, HDFS-8118.patch
>
>
> When the fs.trash.checkpoint.interval and the fs.trash.interval are set non-zero and
the same, it is possible for trash to be left for two intervals.
> The TrashPolicyDefault will use a floor and ceiling function to ensure that the Trash
will be checkpointed every "interval" of minutes.
> Each user's trash is checkpointed individually.  The time resolution of the checkpoint
timestamp is to the second.
> If the seconds switch while one user is checkpointing, then the next user's timestamp
will be later.
> This will cause the next user's checkpoint to not be deleted at the next interval.
> I have recreated this in a lab cluster 
> I also have a suggestion for a patch that I can upload later tonight after testing it
further.



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

Mime
View raw message