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

Eric Yang updated CHUKWA-121:
-----------------------------

    Attachment: CHUKWA-121.patch

Check for partition number, if it is less than 0, do not create partition.

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

Reply via email to