public class LocalizerContext extends Object
| Constructor and Description | 
|---|
| LocalizerContext(String user,
                org.apache.hadoop.yarn.api.records.ContainerId containerId,
                org.apache.hadoop.security.Credentials credentials) | 
| LocalizerContext(String user,
                org.apache.hadoop.yarn.api.records.ContainerId containerId,
                org.apache.hadoop.security.Credentials credentials,
                org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.fs.Path,Future<org.apache.hadoop.fs.FileStatus>> statCache) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.records.ContainerId | getContainerId() | 
| org.apache.hadoop.security.Credentials | getCredentials() | 
| org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.fs.Path,Future<org.apache.hadoop.fs.FileStatus>> | getStatCache() | 
| String | getUser() | 
public LocalizerContext(String user, org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.security.Credentials credentials)
public LocalizerContext(String user, org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.fs.Path,Future<org.apache.hadoop.fs.FileStatus>> statCache)
public String getUser()
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public org.apache.hadoop.security.Credentials getCredentials()
public org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.fs.Path,Future<org.apache.hadoop.fs.FileStatus>> getStatCache()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.