[ https://issues.apache.org/jira/browse/HBASE-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811161#comment-13811161 ]
Anoop Sam John commented on HBASE-9872: --------------------------------------- When we call modifyTable() with HTD including a new HCD, will this new HCD gets added to table? I think no, as addColumn() should be used here. So this may be expected behaviour I would say Ram. Experts in this area , pls comment. > ModifyTable does not modify the attributes of a newly modified/changed > ColumnDescriptor > ---------------------------------------------------------------------------------------- > > Key: HBASE-9872 > URL: https://issues.apache.org/jira/browse/HBASE-9872 > Project: HBase > Issue Type: Bug > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 0.98.0, 0.94.13, 0.96.1 > > > This issue (if it is an expected behaviour I can close this) exists in all > versions. > If i do modifyColumn and change an HCDs parameter I am able to get back the > modified HCD with the latest data. > But when i do modifyTable and in that modify an HCD parameter say for eg. the > SCOPE of it then as we don't persist the HCD information as in > TableModifyFamilyHandler used for modifycolumn > {code} > HTableDescriptor htd = > this.masterServices.getMasterFileSystem().modifyColumn(tableName, > familyDesc); > {code} > we are not able to get the updated HCD information on the RegionServer. So > incases of replication where I need to modify the HCD's scope we are not able > to make the replication happen. -- This message was sent by Atlassian JIRA (v6.1#6144)