| { |
| "id":4, |
| "name": "yarn", |
| "displayName": "yarn", |
| "implClass": "org.apache.ranger.services.yarn.RangerServiceYarn", |
| "label": "YARN", |
| "description": "YARN", |
| "guid": "5b710438-edcf-4e20-834c-a9a267b5b963", |
| "resources": |
| [ |
| { |
| "itemId": 1, |
| "name": "queue", |
| "type": "string", |
| "level": 10, |
| "mandatory": true, |
| "lookupSupported": true, |
| "recursiveSupported": true, |
| "matcher": "org.apache.ranger.plugin.resourcematcher.RangerPathResourceMatcher", |
| "matcherOptions": { "wildCard":true, "ignoreCase":false, "pathSeparatorChar":"." }, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Queue", |
| "description": "Queue" |
| } |
| ], |
| |
| "accessTypes": |
| [ |
| { |
| "itemId": 1, |
| "name": "submit-app", |
| "label": "submit-app" |
| }, |
| |
| { |
| "itemId": 2, |
| "name": "admin-queue", |
| "label": "admin-queue", |
| "impliedGrants": |
| [ |
| "submit-app" |
| ] |
| } |
| ], |
| |
| "configs": |
| [ |
| { |
| "itemId": 1, |
| "name": "username", |
| "type": "string", |
| "mandatory": true, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Username" |
| }, |
| |
| { |
| "itemId": 2, |
| "name": "password", |
| "type": "password", |
| "mandatory": true, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Password" |
| }, |
| |
| { |
| "itemId": 3, |
| "name": "yarn.url", |
| "type": "string", |
| "mandatory": true, |
| "defaultValue": "", |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"{\"TextFieldWithIcon\":true, \"info\": \"1.For one url, eg.<br>'http or https://<ipaddr>:8088'<br>2.For multiple urls (use , or ; delimiter), eg.<br>'http://<ipaddr1>:8088,http://<ipaddr2>:8088'\"}", |
| "label": "YARN REST URL" |
| }, |
| |
| { |
| "itemId": 4, |
| "name": "hadoop.security.authentication", |
| "type": "enum", |
| "subType": "authnType", |
| "mandatory": false, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Authentication Type", |
| "defaultValue": "simple" |
| }, |
| |
| { |
| "itemId": 5, |
| "name": "commonNameForCertificate", |
| "type": "string", |
| "mandatory": false, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Common Name for Certificate" |
| } |
| |
| ], |
| |
| "enums": |
| [ |
| { |
| "itemId": 1, |
| "name": "authnType", |
| "elements": |
| [ |
| { |
| "itemId": 1, |
| "name": "simple", |
| "label": "Simple" |
| }, |
| |
| { |
| "itemId": 2, |
| "name": "kerberos", |
| "label": "Kerberos" |
| } |
| ], |
| |
| "defaultIndex": 0 |
| } |
| ], |
| |
| "contextEnrichers": |
| [ |
| |
| ], |
| |
| "policyConditions": |
| [ |
| |
| ] |
| } |