helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beau Brower (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-658) Upgrade Zookeeper version
Date Thu, 25 May 2017 21:38:04 GMT

     [ https://issues.apache.org/jira/browse/HELIX-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Beau Brower updated HELIX-658:
------------------------------
    Description: 
0.6.7 has upgraded to 3.4.9
0.7.x branch should do the same.

  was:
>From ShaoFeng

{quote}
Another issue I faced is, on the helix-ui, it can show all resources, but
when selecting a resource, the "partitions" tab couldn't show which
instances it be assigned to; the only message is "No partitions of
 <resource_name> are assigned!"

I checked the UI code, it indicates the reason is the "listFields" is
empty. That matches with what I see with the helix-admin.sh
--listResourceInfo:

IdealState for Resource_Stream_1454391900000_1454392200000:
{
  "id" : "Resource_Stream_1454391900000_1454392200000",
  "mapFields" : {
    "Resource_Stream_1454391900000_1454392200000" : {
    }
  },
  "listFields" : {
    "Resource_Stream_1454391900000_1454392200000" : [ ]
  },
  "simpleFields" : {
    "IDEAL_STATE_MODE" : "AUTO_REBALANCE",
    "NUM_PARTITIONS" : "1",
    "REBALANCE_MODE" : "FULL_AUTO",
    "REPLICAS" : "3",
    "STATE_MODEL_DEF_REF" : "LeaderStandby",
    "STATE_MODEL_FACTORY_NAME" : "DEFAULT"
  }
}

ExternalView for Resource_Stream_1454391900000_1454392200000:
{
  "id" : "Resource_Stream_1454391900000_1454392200000",
  "mapFields" : {
    "Resource_Stream_1454391900000_1454392200000" : {
      "kylin-dev3_8080" : "LEADER",
      "kylin-dev4_8080" : "STANDBY"
    }
  },
  "listFields" : {
  },
  "simpleFields" : {
    "BUCKET_SIZE" : "0"
  }
}

I checked the code, it seems for FULL_AUTO, the values for "listFields" and
"mapFields" are empty (at least at the begining). Will it be updated at
some point of time, or how could I trigger that?
{quote}

In ResourceStateSpec#getResourceStateTable, we should check the rebalance mode, and use the
partitions from external view if FULL_AUTO, as there's no ideal placement for them.


> Upgrade Zookeeper version
> -------------------------
>
>                 Key: HELIX-658
>                 URL: https://issues.apache.org/jira/browse/HELIX-658
>             Project: Apache Helix
>          Issue Type: Bug
>    Affects Versions: 0.7.2
>            Reporter: Beau Brower
>             Fix For: 0.7.2
>
>
> 0.6.7 has upgraded to 3.4.9
> 0.7.x branch should do the same.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message