You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/26 04:20:24 UTC

[jira] [Created] (HADOOP-10751) HBase Master needs data locality

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)