[ 
https://issues.apache.org/jira/browse/HBASE-5631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401288#comment-13401288
 ] 

Anoop Sam John commented on HBASE-5631:
---------------------------------------

One point is with out the .tableinfo file in HDFS, HBCK can not fix HDFS 
integrity issues.
For recreating the .tableinfo file in HDFS we need the HTD instance of the 
table. Well we can try getting this from the Master or RSs. In RS side the 
HRegion will have HTD instances. Also in Master, it might be already cached in 
FSTableDescriptors before the file actually got missed. We can try getting from 
any where possible (Hope from some where we will get HTD) and recreate the 
.tableinfo file. One point is this can work only in online mode.

And if the .tableinfo file is missing the offline mode fixes wont work also.

Pls validate my analysis
                
> hbck should handle case where .tableinfo file is missing.
> ---------------------------------------------------------
>
>                 Key: HBASE-5631
>                 URL: https://issues.apache.org/jira/browse/HBASE-5631
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbck
>    Affects Versions: 0.92.2, 0.94.0, 0.96.0
>            Reporter: Jonathan Hsieh
>
> 0.92+ branches have a .tableinfo file which could be missing from hdfs.  hbck 
> should be able to detect and repair this properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to