Skip to main content

HdfsFetcher

Apache Hadoop File System (HDFS) fetcher.

Notesโ€‹

Fetches documents from Apache Hadoop File System (HDFS) using the webhdfs:// scheme. Supports simple authentication and Kerberos/SPNEGO authentication.

Usageโ€‹

class: HdfsFetcher
authMethod: SIMPLE
credentials:
password: string
passwordKey:
size: 0
source: KEY
value: string
username: string
domain: string
kerberosConfig:
keytabPath: string
krb5ConfigPath: string
loginModuleName: string
principal: string
servicePrincipalName: string
useTicketCache: false
referenceFilters: []

Propertiesโ€‹

PropertyTypeRequiredDefault
authMethodenumNoSIMPLE
credentialsCredentialsNoCredentials
domainstringNo-
kerberosConfigKerberosConfigNo-
referenceFiltersReferenceFilter[]No-

Property Detailsโ€‹

authMethodโ€‹

Authentication method. Defaults to SIMPLE. Set to KERBEROS to use Kerberos/SPNEGO authentication.

Allowed Valuesโ€‹

  • SIMPLE
  • KERBEROS

credentialsโ€‹

Optional credentials for the target HDFS. With SIMPLE, the username is sent as the user.name query parameter. With KERBEROS, credentials can be used for username/password-based JAAS login.

domainโ€‹

The domain name for authentication when accessing the remote resource.

kerberosConfigโ€‹

Kerberos/SPNEGO settings used when authMethod is KERBEROS. See KerberosConfig for details.

referenceFiltersโ€‹

Filters applied to document references (URLs or file paths) to control which ones are fetched. Documents whose references do not pass the filters are skipped.