Acceldata
ODP

Configure YARN with Hue

The Hue Yarn Module is enabled by default.

Enable YARN integration

  1. In the Ambari UI, go to the Hue configuration page.
  2. Verify that Hue Yarn Module is set to ON.
  3. Save the configuration if you make any changes.

Preserved image

Customize the YARN configuration

To specify additional YARN configuration:

  1. Go to Advanced services.
  2. Modify the yarn-config property.

Ambari saves the generated configuration to:

/etc/hue/conf/yarn.ini

Preserved image

Configure YARN permissions

Hue requires permission to:

  • Submit applications to the YARN queue.
  • Administer the YARN queue.

Configure the permissions based on whether Ranger manages YARN authorization.

Configure permissions with Ranger

If Ranger manages YARN permissions:

  1. Open the Ranger YARN policy.
  2. Grant the Hue user permission to submit applications and administer the required queue.

By default, Hue uses the default YARN queue. Ensure that the Hue user has the required permissions for at least this queue.

Preserved image

Configure permissions without Ranger

If Ranger isn't enabled:

  1. In the Ambari UI, select the grid icon in the upper-right corner.

Preserved image

  1. Select Yarn Queue Manager.

Preserved image

  1. Select the YARN queue that Hue uses.
  2. Add the Hue user to the list of users permitted to submit applications.

Preserved image

  1. Add the Hue user to the list of users permitted to administer the queue.
  2. Save the configuration.