I tried that with 1.0.1 but I think it's the same with 1.1.0.
How to reproduce:
create 'testflush', 'f1'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
put 'testflush', 'row1', 'f1:c1', 'val1'
flush 'testflush'
Result:
jmspaggiari@t430s:~/hbase-1.0.0$ tree
/tmp/hbase-jmspaggiari/hbase/data/default/
/tmp/hbase-jmspaggiari/hbase/data/default/
└── testflush
└── 6546495c8df1e1b0a5a5a11d5df23e44
├── f1
│ ├── 195e2b5af8e842f89440927a12c38c25
│ ├── 266ef04cefe944249d72791a5741a64e
│ ├── 33b01c2bf3c34d98a01bba95ffa58d0c
│ ├── 365dbdc33f324f67bf466965cc6ad9e8
│ ├── 47a47d405bce4bf0a261a16a1ba5694f
│ ├── 54b7a073289b459292d0eff447d413a5
│ ├── 55fafb3c30fa4067a3bab54823478cdd
│ ├── 923ddff172a542b6a5ba6f3467983efa
│ ├── c69127daa4d34fe8b832e1fafea42713
│ ├── da4fe34334824f6ea9f5a12dfb93cab9
│ └── f3a15c326535420cb68d505ce9798d40
└── recovered.edits
└── 2.seqid
4 directories, 12 files
I can test the same on 1.1.0 if you want, just let me know.
2015-08-05 13:18 GMT-04:00 Ted Yu <[email protected]>:
> Can you provide some more detail please ?
>
> Release of hbase
> region server log (snippet) showing that compaction is skipped
>
> Thanks
>
> On Wed, Aug 5, 2015 at 10:15 AM, Jean-Marc Spaggiari <
> [email protected]> wrote:
>
> > Quick question here.
> >
> > Compactions seems to be triggered when we flush automatically, but not
> when
> > we flush manually.
> >
> > for 1 to 10
> > put into a table
> > flush the table
> > end of for
> >
> > Will create 10 files, and will not trigger any compaction.
> >
> > Should we also compact after manual flushs?
> >
> > JM
> >
>