org.springframework.data.hadoop.util
Class PermissionUtils

java.lang.Object
  extended by org.springframework.data.hadoop.util.PermissionUtils

public class PermissionUtils
extends Object

Simple utility class that fixes the File permission problem on Windows. A temporary work-around until Hadoop fixes this issue out of the box. Needs to be called, once per class-loader, before submitting a job to Hadoop.

Author:
Costin Leau

Constructor Summary
PermissionUtils()
           
 
Method Summary
static void hackHadoopStagingOnWin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionUtils

public PermissionUtils()
Method Detail

hackHadoopStagingOnWin

public static void hackHadoopStagingOnWin()