org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer
Class ContainerLocalizer
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer
public class ContainerLocalizer
- extends Object
|
Constructor Summary |
ContainerLocalizer(org.apache.hadoop.fs.FileContext lfs,
String user,
String appId,
String localizerId,
List<org.apache.hadoop.fs.Path> localDirs,
org.apache.hadoop.yarn.factories.RecordFactory recordFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILECACHE
public static final String FILECACHE
- See Also:
- Constant Field Values
APPCACHE
public static final String APPCACHE
- See Also:
- Constant Field Values
USERCACHE
public static final String USERCACHE
- See Also:
- Constant Field Values
OUTPUTDIR
public static final String OUTPUTDIR
- See Also:
- Constant Field Values
TOKEN_FILE_NAME_FMT
public static final String TOKEN_FILE_NAME_FMT
- See Also:
- Constant Field Values
WORKDIR
public static final String WORKDIR
- See Also:
- Constant Field Values
ContainerLocalizer
public ContainerLocalizer(org.apache.hadoop.fs.FileContext lfs,
String user,
String appId,
String localizerId,
List<org.apache.hadoop.fs.Path> localDirs,
org.apache.hadoop.yarn.factories.RecordFactory recordFactory)
throws IOException
- Throws:
IOException
runLocalization
public int runLocalization(InetSocketAddress nmAddr)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
main
public static void main(String[] argv)
throws Throwable
- Throws:
Throwable
Copyright © 2012 Apache Software Foundation. All Rights Reserved.