chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-121) Database Expiration program tries to delete table partition which is less than 0
Date Tue, 14 Apr 2009 21:17:14 GMT

    [ 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.


Mime
View raw message