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.


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



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.


Configure permissions without Ranger

If Ranger isn't enabled:

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


  1. Select Yarn Queue Manager.


  1. Select the YARN queue that Hue uses.

  2. Add the Hue user to the list of users permitted to submit applications.


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

  2. Save the configuration.


  Last updated