glusterfs-hadoop icon indicating copy to clipboard operation
glusterfs-hadoop copied to clipboard

Remove automatic directory creation of mapred.system.dir

Open childsb opened this issue 11 years ago • 1 comments

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.

childsb avatar Jun 04 '14 18:06 childsb

+1 this is great

rootfs avatar Jun 04 '14 20:06 rootfs