org.apache.hadoop.mapred
Class TaskController.DistributedCacheFileContext

java.lang.Object
  extended by org.apache.hadoop.mapred.TaskController.InitializationContext
      extended by org.apache.hadoop.mapred.TaskController.DistributedCacheFileContext
Enclosing class:
TaskController

public static class TaskController.DistributedCacheFileContext
extends TaskController.InitializationContext

This is used for initializing the private localized files in distributed cache. Initialization would involve changing permission, ownership and etc.


Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.TaskController.InitializationContext
user, workDir
 
Constructor Summary
TaskController.DistributedCacheFileContext(String user, File workDir, Path localizedBaseDir, String uniqueString)
           
 
Method Summary
 Path getLocalizedUniqueDir()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskController.DistributedCacheFileContext

public TaskController.DistributedCacheFileContext(String user,
                                                  File workDir,
                                                  Path localizedBaseDir,
                                                  String uniqueString)
Method Detail

getLocalizedUniqueDir

public Path getLocalizedUniqueDir()


Copyright © 2009 The Apache Software Foundation