|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.server.tasktracker.Localizer
public class Localizer
NOTE: This class is internal only and not intended for users!!
Nested Class Summary | |
---|---|
static class |
Localizer.PermissionsHandler
NOTE: This class is internal only class and not intended for users!! |
Constructor Summary | |
---|---|
Localizer(FileSystem fileSys,
String[] lDirs,
TaskController tc)
Create a Localizer instance |
Method Summary | |
---|---|
void |
initializeAttemptDirs(String user,
String jobId,
String attemptId,
boolean isCleanupAttempt)
Create taskDirs on all the disks. |
void |
initializeJobDirs(String user,
JobID jobId)
Prepare the job directories for a given job. |
void |
initializeJobLogDir(JobID jobId)
Create job log directory and set appropriate permissions for the directory. |
void |
initializeUserDirs(String user)
Initialize the local directories for a particular user on this TT. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Localizer(FileSystem fileSys, String[] lDirs, TaskController tc)
fileSys
- lDirs
- tc
- Method Detail |
---|
public void initializeUserDirs(String user) throws IOException
user
-
IOException
public void initializeJobDirs(String user, JobID jobId) throws IOException
TaskController.initializeJob(JobInitializationContext)
is run at a
later time to set proper private permissions on the job directories.
user
- jobId
-
IOException
public void initializeAttemptDirs(String user, String jobId, String attemptId, boolean isCleanupAttempt) throws IOException
user
- jobId
- attemptId
- isCleanupAttempt
-
IOException
public void initializeJobLogDir(JobID jobId)
jobId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |