[
https://issues.apache.org/jira/browse/HBASE-16621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583215#comment-15583215
]
Ted Yu commented on HBASE-16621:
--------------------------------
{code}
+ return isFile(fs, isDir, p);
+ } catch (IOException ioe) {
+ // Maybe the file was moved or the fs was disconnected.
+ LOG.warn("Skipping file " + p + " due to IOException", ioe);
+ return false;
{code}
Is the above safe to do ? See HBASE-16527
> HBCK should have -fixHFileLinks
> -------------------------------
>
> Key: HBASE-16621
> URL: https://issues.apache.org/jira/browse/HBASE-16621
> Project: HBase
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Janos Gub
> Labels: beginner, operability
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-16621.patch, refactor-2.patch
>
>
> Similar to {{-fixReferenceFiles}}, HBCK should be able to sideline dangling
> HFile Links as well.
> We have seen a couple of cases, where due to HDFS-level fsck run which
> deleted files with missing blocks, the cluster is left with dangling HFIle
> Links, and regions cannot be opened because of these. Only a manual and
> error-prone finding and clearing of HFileLinks can save the tables regions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)