You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by jlei liu <li...@gmail.com> on 2012/09/27 11:08:47 UTC

When I create one new table, there is .oldlogs dir in region dir of the table

I use hbase0.94.1 version.

When I create one new table,   there is .oldlogs dir in region dir of the
table, example:
drwxr-xr-x   - musa.ll supergroup          0 2012-09-27 16:41
/hbase0.94.1/scantable1/0a0ff04f7b3db8b898a1312cc672ab24/.oldlogs
-rw-r--r--   3 musa.ll supergroup        134 2012-09-27 16:41
/hbase0.94.1/scantable1/0a0ff04f7b3db8b898a1312cc672ab24/.oldlogs/hlog.1348735282237

 HLogs should be stored in "/hbase.rootdir +/<host>,<port>,<startcode>/
<host>%2C <port>%2C<startcode>.<timestamp>" dir, and old HLogs should be
stored in "/hbase.rootdir/.oldlogs" dir.  Why does the region dir also
contain .oldlogs dir?

Thanks,

LiuLei

RE: When I create one new table, there is .oldlogs dir in region dir of the table

Posted by "Ramkrishna.S.Vasudevan" <ra...@huawei.com>.
Hi 

That is not needed, infact it has been fixed in the latest trunk version as
part of HBASE-6327.

We can back port the issue I feel. Thanks for bringing this into notice.

Regards
Ram

> -----Original Message-----
> From: jlei liu [mailto:liulei412@gmail.com]
> Sent: Thursday, September 27, 2012 2:39 PM
> To: user@hbase.apache.org
> Subject: When I create one new table, there is .oldlogs dir in region
> dir of the table
> 
> I use hbase0.94.1 version.
> 
> When I create one new table,   there is .oldlogs dir in region dir of
> the
> table, example:
> drwxr-xr-x   - musa.ll supergroup          0 2012-09-27 16:41
> /hbase0.94.1/scantable1/0a0ff04f7b3db8b898a1312cc672ab24/.oldlogs
> -rw-r--r--   3 musa.ll supergroup        134 2012-09-27 16:41
> /hbase0.94.1/scantable1/0a0ff04f7b3db8b898a1312cc672ab24/.oldlogs/hlog.
> 1348735282237
> 
>  HLogs should be stored in "/hbase.rootdir +/<host>,<port>,<startcode>/
> <host>%2C <port>%2C<startcode>.<timestamp>" dir, and old HLogs should
> be
> stored in "/hbase.rootdir/.oldlogs" dir.  Why does the region dir also
> contain .oldlogs dir?
> 
> Thanks,
> 
> LiuLei