Package org.apache.storm.container.oci
Class HdfsOciResourcesLocalizer
java.lang.Object
org.apache.storm.container.oci.HdfsOciResourcesLocalizer
- All Implemented Interfaces:
OciResourcesLocalizerInterface
-
Constructor Details
-
HdfsOciResourcesLocalizer
public HdfsOciResourcesLocalizer()
-
-
Method Details
-
init
Initialization.- Specified by:
initin interfaceOciResourcesLocalizerInterface- Parameters:
conf- the storm conf.- Throws:
IOException- on I/O exception
-
localize
Download the resources from HDFS to local dir.- Specified by:
localizein interfaceOciResourcesLocalizerInterface- Parameters:
ociResource- The oci resource to download- Returns:
- the destination of the oci resource
- Throws:
IOException- on I/O exception
-