public class TezLocalCacheManager extends Object
| Constructor and Description |
|---|
TezLocalCacheManager(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> resources,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Clean up any symlinks and temp files that were created.
|
void |
localize()
Localize this instance's resources by downloading and symlinking them.
|
public TezLocalCacheManager(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> resources, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic void localize()
throws IOException
IOException - when an error occurs in download or linkpublic void cleanup()
throws IOException
IOException - when an error occurs in cleanupCopyright © 2019 Apache Software Foundation. All rights reserved.