Skip to content

Conversation

childsb
Copy link
Contributor

@childsb childsb commented Jun 4, 2014

The mapred.system.dir is required for map reduce jobs to run. Up until now the SHIM creates the directory as a user convenience, but this isn't the best behavior and could lead to security problems. The directory should be created before the user starts hadoop.

This patch removes the automatic directory creation and instead throws a Runtime exception.

…throw a runtime exception. The directory should already be created with permissions before hadoop starts
@rootfs
Copy link
Contributor

rootfs commented Jun 4, 2014

+1
this is great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants