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

Jean-Marc Spaggiari commented on HBASE-7930:
--------------------------------------------

hi Dave,

This is the code generating this warning:
{code}
    byte [] bytes =
      result.getValue(HConstants.CATALOG_FAMILY, 
HConstants.REGIONINFO_QUALIFIER);
    if (bytes == null) {
      LOG.warn("REGIONINFO_QUALIFIER is empty in " + result);
      return null;
    }
{code}

And it's the only place where this is printed into the logs. I "grepped" the 
code and was not able to find anywhere else where this is printed. So this 
warning is displayed only when we are not able to find the REGIONINFO_QUALIFIER 
in CATALOG_FAMILY the row.

>From what is remaining in the table:
 entry,keyvalue,1360762149493.288611f36e195c950754ba88e9402950. 
column=info:server, timestamp=1361046940033, value=node1:60020
 entry,keyvalue,1360762149493.288611f36e195c950754ba88e9402950. 
column=info:serverstartcode, timestamp=1361046940033, value=1361046923347
We don't know where to look into HDFS. If we remove those 2 lines and HBCK 
found a region in the HDFS which is not into the .META., it will reconstruct 
the entries in the .META. based in the HDFS content.

So I think we can safely remove those lines from the .META. and I don't think 
there is anything else which can generate this WARNing.
                
> hbck should provide an option to fix empty REGIONINFO_QUALIFIER .META. rows.
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-7930
>                 URL: https://issues.apache.org/jira/browse/HBASE-7930
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>
> Today when master and HBCK are reporting empty REGIONINFO_QUALIFIER .META. 
> rows, we need to manually delete them from the .META. region. We need to 
> enhance hbck to do that automatically.

--
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

Reply via email to