Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Remove automatic directory creation of mapred.system.dir#101

Open
childsb wants to merge 1 commit into
gluster:masterfrom
childsb:bz996290
Open

Remove automatic directory creation of mapred.system.dir#101
childsb wants to merge 1 commit into
gluster:masterfrom
childsb:bz996290

Conversation

@childsb

@childsb childsb commented Jun 4, 2014

Copy link
Copy Markdown
Contributor

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

rootfs commented Jun 4, 2014

Copy link
Copy Markdown

+1
this is great

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants