You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Cheng (JIRA)" <ji...@apache.org> on 2009/04/14 23:17:14 UTC

[jira] Commented: (CHUKWA-121) Database Expiration program tries to delete table partition which is less than 0

    [ https://issues.apache.org/jira/browse/CHUKWA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698937#action_12698937 ] 

Cheng commented on CHUKWA-121:
------------------------------

+1 Looks good.

> Database Expiration program tries to delete table partition which is less than 0
> --------------------------------------------------------------------------------
>
>                 Key: CHUKWA-121
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-121
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: Data Processors
>         Environment: Redhat EL 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: CHUKWA-121.patch
>
>
> DataExpiration script calculate and attempt to drop the partition which is two time partition in the past.  However, there is a bug, let's say if the current century partition is 0, and the expiration script will attempt to remove -1_century partition.  The program should detect negative partition number and stop data expiration if the partition number is less than 0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.