Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-174

HBase Master needs data locality

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Slider 0.40
    • None
    • None

    Description

      Currently:

          // Master doesn't need data locality
          ROLES.add(new ProviderRole(HBaseKeys.ROLE_MASTER, KEY_MASTER,PlacementPolicy.NO_DATA_LOCALITY));
      

      But in RoleHistory#findNodeForNewInstance():

          if (role.getNoDataLocality()) {
            return null;
          }
      

      This implies that HBase master instances might be scheduled on one host, obviating the goal for HA.

      Attachments

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: