binlijin created HBASE-10371:
--------------------------------

             Summary: Compact create empty hfile, then select this file for 
compaction and create empty hfile and over again.
                 Key: HBASE-10371
                 URL: https://issues.apache.org/jira/browse/HBASE-10371
             Project: HBase
          Issue Type: Bug
            Reporter: binlijin


(1) Select HFile for compaction
2014-01-16 01:01:25,111 INFO 
org.apache.hadoop.hbase.regionserver.compactions.CompactSelection: Deleting the 
expired store file by compaction: 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/a/f3e38d10d579420494079e17a2557f0b
 whose maxTimeStamp is -1 while the max expired timestamp is 1389632485111
(2) Compact
2014-01-16 01:01:26,042 DEBUG org.apache.hadoop.hbase.regionserver.Compactor: 
Compacting 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/a/f3e38d10d579420494079e17a2557f0b,
 keycount=0, bloomtype=NONE, size=534, encoding=NONE
2014-01-16 01:01:26,045 DEBUG org.apache.hadoop.hbase.util.FSUtils: Creating 
file=hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/.tmp/40de5d79f80e4fb197e409fb99ab0fd8
 with permission=rwxrwxrwx
2014-01-16 01:01:26,076 INFO org.apache.hadoop.hbase.regionserver.Store: 
Renaming compacted file at 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/.tmp/40de5d79f80e4fb197e409fb99ab0fd8
 to 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/a/40de5d79f80e4fb197e409fb99ab0fd8
2014-01-16 01:01:26,142 INFO org.apache.hadoop.hbase.regionserver.Store: 
Completed compaction of 1 file(s) in a of 
storagetable,01:,1369377609136.7d8941661904fb99a41f79a1fce47767. into 
40de5d79f80e4fb197e409fb99ab0fd8, size=534; total size for store is 399.0 M
2014-01-16 01:01:26,142 INFO 
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest: completed 
compaction: 
regionName=storagetable,01:,1369377609136.7d8941661904fb99a41f79a1fce47767., 
storeName=a, fileCount=1, fileSize=534, priority=16, time=18280340606333745; 
duration=0sec
(3) Select HFile for compaction
2014-01-16 03:48:05,120 INFO 
org.apache.hadoop.hbase.regionserver.compactions.CompactSelection: Deleting the 
expired store file by compaction: 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/a/40de5d79f80e4fb197e409fb99ab0fd8
 whose maxTimeStamp is -1 while the max expired timestamp is 1389642485120
(4) 
2014-01-16 03:50:17,731 DEBUG org.apache.hadoop.hbase.regionserver.Compactor: 
Compacting 
hdfs://dump002002.cm6:9000/hbase-0.90/storagetable/7d8941661904fb99a41f79a1fce47767/a/40de5d79f80e4fb197e409fb99ab0fd8,
 keycount=0, bloomtype=NONE, size=534, encoding=NONE
2014-01-16 03:50:17,732 DEBUG org.apache.hadoop.hbase.util.FSUtils: Creating 
file=hdfs://dump002002.cm6:9000/hbase-0.90
... 
this loop for ever.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to