[
https://issues.apache.org/jira/browse/HBASE-18490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-18490:
-------------------------------------------
Attachment: TestRegionReplicasWithRestartScenarios.java
Attaching a test case to illustrate the problem.
{code}
// Create table then get the single region for our new table.
//createTableDirectlyFromHTD(tableName);
enableReplicationByModification(tableName);
{code}
Currently the test will fail because we have created a table and then modify it
to enable replicaiton.
If you uncomment the line createTableDirectlyFromHTD() and comment the
enableReplicationByModification() you can see that the test passes because it
creates 3 regions as per the specified replicaIds.
> Modifying a table descriptor to enable replicas does not create replica
> regions
> -------------------------------------------------------------------------------
>
> Key: HBASE-18490
> URL: https://issues.apache.org/jira/browse/HBASE-18490
> Project: HBase
> Issue Type: Bug
> Components: Region Assignment
> Affects Versions: 1.3.1, 1.2.6, 2.0.0-alpha-1
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Attachments: TestRegionReplicasWithRestartScenarios.java
>
>
> After creating a table, if we try to modify the table to enable region
> replication, the new Htable Descriptor is not taken into account and the
> table is enabled again with default single region.
> Ping [~enis], [~tedyu], [~devaraj].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)