Amazon EMR
Developer Guide

Setting Permissions on the System Directory

This documentation is for AMI versions 2.x and 3.x of Amazon EMR. For information about Amazon EMR releases 4.0.0 and above, see the Amazon EMR Release Guide. For information about managing the Amazon EMR service in 4.x releases, see the Amazon EMR Management Guide.

You can set the permissions on the release directory by using a bootstrap action to modify the mapreduce.jobtracker.system.dir.permission configuration variable. This is useful if you are running a custom configuration in which users other than "hadoop user" submit jobs to Hadoop.

To set permissions on the system directory

  • Specify a bootstrap action that sets the permissions for the directory using numerical permissions codes (octal notation). The following example bootstrap action, with a permissions code of 777, gives full permissions to the user, group, and world. For more information, see to Octal notation in Wikipedia.

    s3://elasticmapreduce/bootstrap-actions/configure-hadoop \
    --args "-s,mapreduce.jobtracker.system.dir.permission=777"