You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/04/12 03:51:15 UTC
[jira] Created: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
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
Environment: Redhat EL 5.1, Java 6
Reporter: Eric Yang
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.
[jira] Commented: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Cheng (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang reassigned CHUKWA-121:
--------------------------------
Assignee: Eric Yang
> 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
>
> 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.
[jira] Updated: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-121:
-----------------------------
Component/s: Data Processors
> 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
>
> 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.
[jira] Updated: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-121:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this, thanks Cheng.
> 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.
[jira] Updated: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CHUKWA-121) Database Expiration program tries to
delete table partition which is less than 0
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-121:
-----------------------------
Status: Patch Available (was: Open)
> 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.