The main in the HFile class dumps stats and other things too. No downloading
necessary either.

On Sep 2, 2009 2:30 PM, "Andrew Purtell" <[email protected]> wrote:

Regionserver logs will mention if major compaction happened on a region
or not, but maybe only at DEBUG log level, I'm not sure. I was running
with DEBUG at the time and saw immediately on a region server log tail
that the store files were rewritten with LZO.

I downloaded a HFile out of a randomly chosen region via 'hadoop fs
-copyToLocal ...' and looked at it to confirm it was compressed.

> hbase(main):013: major_compact 'urls' > 0 row(s) in 0.0460 seconds
0 row result for an admin command doesn't mean anything. This tells you the
command was accepted. If there was a problem, an exception would be thrown.

   - Andy




________________________________
From: Igor Ranitovic <[email protected]>
To: [email protected]
Sent: Wednesday, September 2, 2009 2:12:37 PM
Subject: Re: major_compaction and LZO

I tried again, but there is nothing in the regionserver logs. The size of
the table is tiny (MBs). ...

Reply via email to