Eric Yang created HIVE-23125: -------------------------------- Summary: YARN service placement constraints is broken Key: HIVE-23125 URL: https://issues.apache.org/jira/browse/HIVE-23125 Project: Hive Issue Type: Task Reporter: Eric Yang
YARN service placement constraint does not work with node label nor node attributes. Example of placement constraints: {code} "placement_policy": { "constraints": [ { "type": "AFFINITY", "scope": "NODE", "node_attributes": { "label":["genfile"] }, "target_tags": [ "ping" ] } ] }, {code} Node attribute added: {code} ./bin/yarn nodeattributes -add "host-3.example.com:label=genfile" {code} Scheduling activities shows: {code} <diagnostic> Node does not match partition or placement constraints, unsatisfied PC expression="in,node,ping", target-type=ALLOCATION_TAG </diagnostic> <count>1</count> <nodeIds>host-3.example.com:45454</nodeIds>{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)