glusterfs-hadoop
glusterfs-hadoop copied to clipboard
Remove automatic directory creation of mapred.system.dir
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.
+1 this is great