[
https://issues.apache.org/jira/browse/HBASE-16716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15575485#comment-15575485
]
Pankaj Kumar commented on HBASE-16716:
--------------------------------------
Have attached patch for branches (1.1/1.2/1.3).
> OfflineMetaRepair leaves empty directory inside /hbase/WALs which remains
> forever
> ---------------------------------------------------------------------------------
>
> Key: HBASE-16716
> URL: https://issues.apache.org/jira/browse/HBASE-16716
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Affects Versions: 2.0.0
> Reporter: Pankaj Kumar
> Assignee: Pankaj Kumar
> Priority: Minor
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-16716-V2.patch, HBASE-16716-branch-1.1.patch,
> HBASE-16716-branch-1.2.patch, HBASE-16716-branch-1.3.patch,
> HBASE-16716-branch-1.patch, HBASE-16716.patch
>
>
> OfflineMetaRepair rebuild Meta table, while creating meta region it creates
> it's own WAL (inside /hbase/WALs/hbck-meta-recovery-<randomNumber>) which wll
> be closed and archived after rebuilding Meta.
> {noformat}
> hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair
> >> /hbase/WALs/hbck-meta-recovery-<randomNumber>
> {noformat}
> It doesn't clear the empty dir, empty directory should be removed after
> success.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)