You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Amir Shimoni (JIRA)" <ji...@apache.org> on 2012/12/17 08:36:12 UTC

[jira] [Created] (HBASE-7366) Ability for regionserver to move logs to subdirectories within the oldlogs directory

Amir Shimoni created HBASE-7366:
-----------------------------------

             Summary: Ability for regionserver to move logs to subdirectories within the oldlogs directory
                 Key: HBASE-7366
                 URL: https://issues.apache.org/jira/browse/HBASE-7366
             Project: HBase
          Issue Type: New Feature
            Reporter: Amir Shimoni
            Assignee: Amir Shimoni
            Priority: Minor


When running large clusters, the oldlogs (HLogs) directory can get quite large, and simply doing an ls on it, can take quite a bit of time while putting unnecessary pressure on the namenode.

A simple fix for this is to divide the oldlogs directory into multiple subdirectories. Each subdirectory in oldlogs is simply the HLog filename without the sequence number.


This change is beneficial to outside utilities that observe this directory (such as backup utilities).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira