Converting old mapping rule format to JSON-based placement rule format
Reviewing how the old colon-separated mapping rule format is converted into the new JSON-based mapping rules format can help you understand the automatic placement rule conversion.
From Cloudera Runtime 7.1.6 placement rules are described in a JSON-based format. This format conversion is automatically done at the first time you use the YARN Queue Manager UI in CDP Private Cloud Base 7.1.6 or higher. If you use Cloudera Runtime 7.1.6 or higher you must use the new JSON-based placement rule format.
Old mapping rule | New JSON-based placement rule |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(application mapping) |
|
(application mapping) |
|
It's worth noting that %application:%application
requires a
user
type matcher. It is because internally, the "*" is interpreted only
for users. If you set the type
to application
, then the
"*" means to match an application which is named "*".