@RequiresInstanceClassLoading(cloneAncestorResources=true) public abstract class AbstractIcebergProcessor extends AbstractProcessor implements ClassloaderIsolationKeyProvider
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
CATALOG |
static PropertyDescriptor |
KERBEROS_USER_SERVICE |
protected static AtomicReference<KerberosUser> |
kerberosUserReference |
static Relationship |
REL_FAILURE |
protected AtomicReference<org.apache.hadoop.security.UserGroupInformation> |
ugiReference |
| Constructor and Description |
|---|
AbstractIcebergProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doOnTrigger(ProcessContext context,
ProcessSession session,
FlowFile flowFile) |
String |
getClassloaderIsolationKey(PropertyContext context) |
private org.apache.hadoop.security.UserGroupInformation |
getUgi() |
protected boolean |
handleAuthErrors(Throwable t,
ProcessSession session,
ProcessContext context) |
protected void |
initKerberosCredentials(ProcessContext context) |
void |
onScheduled(ProcessContext context) |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getRelationships, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final PropertyDescriptor CATALOG
public static final PropertyDescriptor KERBEROS_USER_SERVICE
public static final Relationship REL_FAILURE
protected static final AtomicReference<KerberosUser> kerberosUserReference
protected final AtomicReference<org.apache.hadoop.security.UserGroupInformation> ugiReference
@OnScheduled public void onScheduled(ProcessContext context)
protected void initKerberosCredentials(ProcessContext context)
public void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger in class AbstractProcessorProcessExceptionpublic String getClassloaderIsolationKey(PropertyContext context)
getClassloaderIsolationKey in interface ClassloaderIsolationKeyProviderprivate org.apache.hadoop.security.UserGroupInformation getUgi()
protected boolean handleAuthErrors(Throwable t, ProcessSession session, ProcessContext context)
protected abstract void doOnTrigger(ProcessContext context, ProcessSession session, FlowFile flowFile) throws ProcessException
ProcessExceptionCopyright © 2024 Apache NiFi Project. All rights reserved.