Configure a resource-based service: YARN

How to add a YARN service.

  1. On Service Manager > Resource Policies, click Add New Service () next to YARN.

    The Create Service page appears.


    Ranger > Create Service page.
  2. On Create Service, enter the following information:
    Table 1. Service Details

    Field name

    Description

    Service Name

    The name of the service; required when configuring agents.

    Display Name The name which will appear on Service Manager.

    Description

    A description of the service.

    Active Status

    Enabled or Disabled.

    Select Tag Service Select a tag-based service to apply the service and its tag-based policies to YARN.
    Table 2. Configuration Properties

    Field name

    Description

    Username

    The end system username that can be used for connection.

    Password

    The password for the username entered above.

    YARN REST URL

    Http or https://RESOURCEMANAGER_FQDN:8088.

    Authentication Type

    The type of authorization in use, as noted in the hadoop configuration file core-site.xml; either simple or Kerberos. (Required only if authorization is enabled).

    This field was formerly named hadoop.security.authorization.

    Common Name For Certificate

    The name of the certificate.

    This field is interchangeably named Common Name For Certificate and Ranger Plugin SSL CName in Create Service pages.

    Add New Configurations

    Add any other new configuration(s).

  3. Click Test Connection.
  4. Click Add.