Amazon Elastic MapReduce
Developer Guide (API Version 2009-03-31)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Setting Permissions on the System Directory

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.

Amazon Elastic MapReduce (Amazon EMR) added this configuration variable to Hadoop in AMI 2.0.5, and it is available in AMI versions 2.0.5 and later. For more information about AMI versions, see Choose a Machine Image.

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 about octal notation, go to http://en.wikipedia.org/wiki/File_system_permissions#Octal_notation.

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