public class HdfsOciResourcesLocalizer extends Object implements OciResourcesLocalizerInterface
| Constructor and Description |
|---|
HdfsOciResourcesLocalizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,Object> conf)
Initialization.
|
String |
localize(OciResource ociResource)
Download the resources from HDFS to local dir.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocalizepublic void init(Map<String,Object> conf) throws IOException
Initialization.
init in interface OciResourcesLocalizerInterfaceconf - the storm conf.IOException - on I/O exceptionpublic String localize(OciResource ociResource) throws IOException
Download the resources from HDFS to local dir.
localize in interface OciResourcesLocalizerInterfaceociResource - The oci resource to downloadIOException - on I/O exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.