Ted Yu created HADOOP-10751:
-------------------------------
Summary: HBase Master needs data locality
Key: HADOOP-10751
URL: https://issues.apache.org/jira/browse/HADOOP-10751
Project: Hadoop Common
Issue Type: Task
Reporter: Ted Yu
Assignee: Ted Yu
Currently:
{code}
// Master doesn't need data locality
ROLES.add(new ProviderRole(HBaseKeys.ROLE_MASTER,
KEY_MASTER,PlacementPolicy.NO_DATA_LOCALITY));
{code}
But in RoleHistory#findNodeForNewInstance():
{code}
if (role.getNoDataLocality()) {
return null;
}
{code}
This implies that HBase master instances might be scheduled on one host,
obviating the goal for HA.
--
This message was sent by Atlassian JIRA
(v6.2#6252)