You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Doug Meil (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 15:24:59 UTC
[jira] [Created] (HBASE-5389) [book] book.xml - minor correction of
compaction algorithm (example #1)
[book] book.xml - minor correction of compaction algorithm (example #1)
-----------------------------------------------------------------------
Key: HBASE-5389
URL: https://issues.apache.org/jira/browse/HBASE-5389
Project: HBase
Issue Type: Improvement
Reporter: Doug Meil
Assignee: Doug Meil
Priority: Minor
Attachments: book_hbase_5389.xml.patch
Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
--------
Slight modification to the book. In 8.7.5.5.2
* 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
* 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
* 23 --> Yes, because sum(12, 12) * 1.0 = 24.
* 12 --> Yes, because sum(12) * 1.0 = 12.
* 12 --> Yes, because the previous file had been included, and this is
included because this does not exceed the the max-file limit of 5.
[12,12] are include solely because an older/larger file is included: 23.
The compaction algorithm itself stops after noticing that 23 should be
included. Sum(12) * 1.0 >= 12 isn't done at all
--------
Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-5389) [book] book.xml - minor correction of
compaction algorithm (example #1)
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Meil updated HBASE-5389:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> [book] book.xml - minor correction of compaction algorithm (example #1)
> -----------------------------------------------------------------------
>
> Key: HBASE-5389
> URL: https://issues.apache.org/jira/browse/HBASE-5389
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Priority: Minor
> Attachments: book_hbase_5389.xml.patch
>
>
> Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
> --------
> Slight modification to the book. In 8.7.5.5.2
> * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
> * 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
> * 23 --> Yes, because sum(12, 12) * 1.0 = 24.
> * 12 --> Yes, because sum(12) * 1.0 = 12.
> * 12 --> Yes, because the previous file had been included, and this is
> included because this does not exceed the the max-file limit of 5.
> [12,12] are include solely because an older/larger file is included: 23.
> The compaction algorithm itself stops after noticing that 23 should be
> included. Sum(12) * 1.0 >= 12 isn't done at all
> --------
> Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-5389) [book] book.xml - minor correction of
compaction algorithm (example #1)
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Meil updated HBASE-5389:
-----------------------------
Attachment: book_hbase_5389.xml.patch
> [book] book.xml - minor correction of compaction algorithm (example #1)
> -----------------------------------------------------------------------
>
> Key: HBASE-5389
> URL: https://issues.apache.org/jira/browse/HBASE-5389
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Priority: Minor
> Attachments: book_hbase_5389.xml.patch
>
>
> Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
> --------
> Slight modification to the book. In 8.7.5.5.2
> * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
> * 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
> * 23 --> Yes, because sum(12, 12) * 1.0 = 24.
> * 12 --> Yes, because sum(12) * 1.0 = 12.
> * 12 --> Yes, because the previous file had been included, and this is
> included because this does not exceed the the max-file limit of 5.
> [12,12] are include solely because an older/larger file is included: 23.
> The compaction algorithm itself stops after noticing that 23 should be
> included. Sum(12) * 1.0 >= 12 isn't done at all
> --------
> Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-5389) [book] book.xml - minor correction of
compaction algorithm (example #1)
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Meil updated HBASE-5389:
-----------------------------
Status: Patch Available (was: Open)
> [book] book.xml - minor correction of compaction algorithm (example #1)
> -----------------------------------------------------------------------
>
> Key: HBASE-5389
> URL: https://issues.apache.org/jira/browse/HBASE-5389
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Priority: Minor
> Attachments: book_hbase_5389.xml.patch
>
>
> Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
> --------
> Slight modification to the book. In 8.7.5.5.2
> * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
> * 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
> * 23 --> Yes, because sum(12, 12) * 1.0 = 24.
> * 12 --> Yes, because sum(12) * 1.0 = 12.
> * 12 --> Yes, because the previous file had been included, and this is
> included because this does not exceed the the max-file limit of 5.
> [12,12] are include solely because an older/larger file is included: 23.
> The compaction algorithm itself stops after noticing that 23 should be
> included. Sum(12) * 1.0 >= 12 isn't done at all
> --------
> Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-5389) [book] book.xml - minor correction
of compaction algorithm (example #1)
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207122#comment-13207122 ]
Hudson commented on HBASE-5389:
-------------------------------
Integrated in HBase-TRUNK #2660 (See [https://builds.apache.org/job/HBase-TRUNK/2660/])
hbase-5389. book.xml - minor correction of compaction selection example #1 (Revision 1243532)
Result = FAILURE
> [book] book.xml - minor correction of compaction algorithm (example #1)
> -----------------------------------------------------------------------
>
> Key: HBASE-5389
> URL: https://issues.apache.org/jira/browse/HBASE-5389
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Priority: Minor
> Attachments: book_hbase_5389.xml.patch
>
>
> Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
> --------
> Slight modification to the book. In 8.7.5.5.2
> * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
> * 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
> * 23 --> Yes, because sum(12, 12) * 1.0 = 24.
> * 12 --> Yes, because sum(12) * 1.0 = 12.
> * 12 --> Yes, because the previous file had been included, and this is
> included because this does not exceed the the max-file limit of 5.
> [12,12] are include solely because an older/larger file is included: 23.
> The compaction algorithm itself stops after noticing that 23 should be
> included. Sum(12) * 1.0 >= 12 isn't done at all
> --------
> Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-5389) [book] book.xml - minor correction
of compaction algorithm (example #1)
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207323#comment-13207323 ]
Hudson commented on HBASE-5389:
-------------------------------
Integrated in HBase-TRUNK-security #110 (See [https://builds.apache.org/job/HBase-TRUNK-security/110/])
hbase-5389. book.xml - minor correction of compaction selection example #1 (Revision 1243532)
Result = SUCCESS
> [book] book.xml - minor correction of compaction algorithm (example #1)
> -----------------------------------------------------------------------
>
> Key: HBASE-5389
> URL: https://issues.apache.org/jira/browse/HBASE-5389
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Priority: Minor
> Attachments: book_hbase_5389.xml.patch
>
>
> Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct:
> --------
> Slight modification to the book. In 8.7.5.5.2
> * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97.
> * 50 --> No, because sum(23, 12, 12) * 1.0 = 47.
> * 23 --> Yes, because sum(12, 12) * 1.0 = 24.
> * 12 --> Yes, because sum(12) * 1.0 = 12.
> * 12 --> Yes, because the previous file had been included, and this is
> included because this does not exceed the the max-file limit of 5.
> [12,12] are include solely because an older/larger file is included: 23.
> The compaction algorithm itself stops after noticing that 23 should be
> included. Sum(12) * 1.0 >= 12 isn't done at all
> --------
> Correcting explanation of the last 2 files on why they were selected for minor compaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira