public final class CsiAdaptorFactory
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.yarn.api.CsiAdaptorPlugin |
getAdaptor(java.lang.String driverName,
org.apache.hadoop.conf.Configuration conf) |
Load csi-driver-adaptor from configuration.
|
public static org.apache.hadoop.yarn.api.CsiAdaptorPlugin getAdaptor(java.lang.String driverName,
org.apache.hadoop.conf.Configuration conf)
throws org.apache.hadoop.yarn.exceptions.YarnException
DefaultCsiAdaptorImpl. If the configured class
is not a valid variation of CsiAdaptorPlugin or the class cannot
be found, this function will throw a RuntimeException.driverName - conf - org.apache.hadoop.yarn.exceptions.YarnException - if unable to create the adaptor class.java.lang.RuntimeException - if given class is not found or not
an instance of CsiAdaptorPluginCopyright © 2008–2025 Apache Software Foundation. All rights reserved.