hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8038) Repeat modify HTableDescriptor in TableModifyFamilyHandler
Date Fri, 22 Mar 2013 10:29:16 GMT

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

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

[~yuzhihong@gmail.com] We can integrate this to 94 right?
                
> Repeat modify HTableDescriptor in TableModifyFamilyHandler
> ----------------------------------------------------------
>
>                 Key: HBASE-8038
>                 URL: https://issues.apache.org/jira/browse/HBASE-8038
>             Project: HBase
>          Issue Type: Bug
>            Reporter: binlijin
>         Attachments: HBASE-8038-94-2.patch, HBASE-8038-94.patch
>
>
> {code}
> TableModifyFamilyHandler:
>   protected void handleTableOperation(List<HRegionInfo> regions) throws IOException
{
>     // Update table descriptor in HDFS
>     HTableDescriptor htd =
>       this.masterServices.getMasterFileSystem().modifyColumn(tableName, familyDesc);
>     // Update in-memory descriptor cache
>     this.masterServices.getTableDescriptors().add(htd); // 2
>   }
> MasterFileSystem:
>   public HTableDescriptor modifyColumn(byte[] tableName, HColumnDescriptor hcd)
>       throws IOException {
>     this.services.getTableDescriptors().add(htd); // 1
>     return htd;
>   }
> {code}
> The FSTableDescriptors.add(HTableDescriptor htd) is called twice, we should remove one.

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

Mime
View raw message