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.