API HTable.getMetadata().addFamily shouldn't be exposed to user
---------------------------------------------------------------

                 Key: HBASE-654
                 URL: https://issues.apache.org/jira/browse/HBASE-654
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: Michael Bieniosek


It seems like HTable.getMetadata().addFamily could be used to add a column 
family to an existing table, but actually it doesn't do anything (I'm guessing 
it just modifies the client data structure).  HTable.getMetadata() should 
probably return a read-only version of the HTableDescriptor to prevent 
programmers from making this error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to