Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> dump HLog content!


Copy link to this message
-
dump HLog content!
Hello,

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
/hbase/.logs/yonghu-laptop,60020,1334504008467
-rw-r--r--   3 yonghu supergroup          0 2012-04-15 17:34
/hbase/.logs/yonghu-laptop,60020,1334504008467/yonghu-laptop%2C60020%2C1334504008467.1334504048854

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?

Thanks!

Yong