[
https://issues.apache.org/jira/browse/HBASE-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999270#comment-15999270
]
Hudson commented on HBASE-12870:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-HBASE-14614 #223 (See
[https://builds.apache.org/job/HBase-HBASE-14614/223/])
HBASE-12870 "Major compaction triggered" and "Skipping major compaction"
(apurtell: rev 30d0c3fdde39a351912af8484fe48035f4cd9189)
* (edit)
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/RatioBasedCompactionPolicy.java
Addendum patch for HBASE-12870. Added check for null pointer. (apurtell: rev
78f6799f4d53bea368caec77ff32db35109bd96b)
* (edit)
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/RatioBasedCompactionPolicy.java
> "Major compaction triggered" and "Skipping major compaction" messages lack
> the region information
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-12870
> URL: https://issues.apache.org/jira/browse/HBASE-12870
> Project: HBase
> Issue Type: Improvement
> Components: Compaction
> Affects Versions: 1.3.1
> Reporter: Hari Krishna Dara
> Assignee: Chinmay Kulkarni
> Labels: compaction, patch
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-12870_addendum.patch, HBASE-12870.patch
>
>
> The below messages coming from {{RatioBasedCompactionPolicy}} log the default
> {{.toString()}} output of itself, which is not useful:
> {noformat}
> 2015-01-16 06:15:07,166 DEBUG
> org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy:
> Major compaction triggered on store
> org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPolicy@4acab1f5;
> time since last major compaction 339994249ms
> {noformat}
> {noformat}
> 2015-01-16 09:49:12,872 DEBUG
> org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy:
> Skipping major compaction of
> org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPolicy@7b9f47bb
> because one (major) compacted file only and oldestTime 6795587394ms is <
> ttl=15552000000
> {noformat}
> It should log the store/region information instead. Unfortunately, this
> information seems to be unavailable at this point, so more context needs to
> be supplied while calling {{RatioBasedCompactionPolicy.isMajorCompaction()}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)