hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashu Pachauri (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-17892) Hierarchical paths for WALs
Date Thu, 05 Oct 2017 21:36:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashu Pachauri resolved HBASE-17892.
-----------------------------------
    Resolution: Duplicate

Closing this as duplicate because HBASE-14247 is actively being worked on which solves the
same issue.

> Hierarchical paths for WALs
> ---------------------------
>
>                 Key: HBASE-17892
>                 URL: https://issues.apache.org/jira/browse/HBASE-17892
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication, wal
>            Reporter: Ashu Pachauri
>
> Currently all WALs are just dumped into a single directory irrespective of the ServerName
for the regionserver to which they belong.
> This is a problem specifically for the WALs archive directory (HConstants.HREGION_OLDLOGDIR_NAME)
since it holds a large number of files which can easily make it go above the HDFS max items
in a directory limit for large clusters in scenarios like pausing replication. HDFS imposes
a hard limit of around 6 million files in a single directory due to Protobuf serialization
limitations.
> We should put WALs for a particular servername in its own directory inside the WALs (archive)
directory.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message