|
|
-
There is no data value information in HLog?
yonghu 2012-03-19, 14:31
Hello,
I used the $ ./bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog --dump command to check the HLog information. But I can not find any data information. The output of my HLog file is looks like follows:
Sequence 933 from region 85986149309dff24ecf7be4873136f15 in table test Action: row: Udo column: Course:Computer at time: Mon Mar 19 14:09:29 CET 2012
Sequence 935 from region 85986149309dff24ecf7be4873136f15 in table test Action: row: Udo column: Course:Math at time: Mon Mar 19 14:09:29 CET 2012
The functionality of HLog is for recovery. But without data value information, how can hbase use the information in HLog to do recovery. My hbase version is 0.92.0.
Regards!
Yong
-
Re: There is no data value information in HLog?
Ted Yu 2012-03-19, 16:32
Hi, Have you noticed this in HLogPrettyPrinter ? options.addOption("p", "printvals", false, "Print values");
Looks like you should have specified the above option.
On Mon, Mar 19, 2012 at 7:31 AM, yonghu <[EMAIL PROTECTED]> wrote:
> Hello, > > I used the $ ./bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog > --dump command to check the HLog information. But I can not find any > data information. The output of my HLog file is looks like follows: > > Sequence 933 from region 85986149309dff24ecf7be4873136f15 in table test > Action: > row: Udo > column: Course:Computer > at time: Mon Mar 19 14:09:29 CET 2012 > > Sequence 935 from region 85986149309dff24ecf7be4873136f15 in table test > Action: > row: Udo > column: Course:Math > at time: Mon Mar 19 14:09:29 CET 2012 > > The functionality of HLog is for recovery. But without data value > information, how can hbase use the information in HLog to do recovery. > My hbase version is 0.92.0. > > Regards! > > Yong >
-
Re: There is no data value information in HLog?
yonghu 2012-03-20, 09:26
Thanks for your response. That's really helpful.
regards!
Yong
On Mon, Mar 19, 2012 at 5:32 PM, Ted Yu <[EMAIL PROTECTED]> wrote: > Hi, > Have you noticed this in HLogPrettyPrinter ? > options.addOption("p", "printvals", false, "Print values"); > > Looks like you should have specified the above option. > > On Mon, Mar 19, 2012 at 7:31 AM, yonghu <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> I used the $ ./bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog >> --dump command to check the HLog information. But I can not find any >> data information. The output of my HLog file is looks like follows: >> >> Sequence 933 from region 85986149309dff24ecf7be4873136f15 in table test >> Action: >> row: Udo >> column: Course:Computer >> at time: Mon Mar 19 14:09:29 CET 2012 >> >> Sequence 935 from region 85986149309dff24ecf7be4873136f15 in table test >> Action: >> row: Udo >> column: Course:Math >> at time: Mon Mar 19 14:09:29 CET 2012 >> >> The functionality of HLog is for recovery. But without data value >> information, how can hbase use the information in HLog to do recovery. >> My hbase version is 0.92.0. >> >> Regards! >> >> Yong >>
|
|