-Re: dump HLog content!
yonghu 2012-04-15, 16:34
On Sun, Apr 15, 2012 at 6:30 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> Did 'HLog --dump' show real contents for a 0-sized file ?
> On Sun, Apr 15, 2012 at 8:58 AM, yonghu <[EMAIL PROTECTED]> wrote:
>> My hbase version is 0.92.0 and is installed in pseudo-mode. I found a
>> strange situation of HLog. After I inserted new data value into table,
>> the volume of HLog is 0. I checked in HDFS.
>> drwxr-xr-x - yonghu supergroup 0 2012-04-15 17:34 /hbase/.logs
>> drwxr-xr-x - yonghu supergroup 0 2012-04-15 17:34
>> -rw-r--r-- 3 yonghu supergroup 0 2012-04-15 17:34
>> But I can use hbase org.apache.hadoop.hbase.regionserver.wal.HLog
>> --dump to see the content of log information. However, if I write java
>> program to extract the log information. The output is null! Somebody
>> knows why?