Skip to main content
The HDFS source reads files from a Hadoop Distributed File System cluster and feeds them into your pipeline. It supports CSV, TSV, JSON, Excel, Parquet, Raw, and compressed formats. Once your connection is set up, see File Storage Options for the full set of read options (file formats, schema, and more) shared across every file storage provider.

Connection Setup

Your HDFS cluster must be accessible from Integrate.io’s platform. If the cluster is behind a firewall, contact Integrate.io support to arrange access.
1
Click the Connections icon (lightning bolt) in the top-left menu.
2
Click New connection.
New connection button in the Connections menu
3
Select Hadoop Distributed File System (HDFS).
Selecting Hadoop Distributed File System from the connection type list
4
Name the connection and fill in the connection details:
5
Click Test connection to verify the credentials.
6
Click Create HDFS connection.
HDFS connection form with hostname and port fields
The connection appears in the list of connections.
HDFS connection created and listed in file storage connections

Source Configuration

Connection

Select your HDFS connection from the dropdown, or create a new one using the steps above.

Source Path

The path to the input file, folder, or pattern on the HDFS cluster. You can use wildcard characters for pattern globbing. File and directory names beginning with an underscore (_) or a dot (.) are ignored.
HDFS has no bucket or container field. The path is relative to the HDFS root.

Source File Format

Record type: the format of each record. Select the record type first:
Avro file format is not supported.
Record delimiter: what breaks the data into records. The editor asks for it only when the record type is JSON object or Raw. Delimited values, Excel, and Parquet files are always read one record per line.
  • New line (\n, \n\r, \r): each line in the file is one record.
  • End of file: each file is treated as a single record.
Source data can be compressed (zip, gzip, or bzip2) or uncompressed. Zip files can be password-protected; enter the password in the Zip Password field. Source data must be UTF-8 encoded. For other encodings, see processing a different encoding. Advanced settings: less common options sit in a collapsed Advanced settings section at the end of the source format step. These include the PGP key, the Excel workbook password, case-insensitive file matching, large Excel file streaming, and Excel column matching. The section header lists every option that is switched on, so you can see them without expanding it. Case insensitive file matching (zip files only): when the source path contains .zip, a Case insensitive file matching checkbox appears in Advanced settings. Enable it to match the zip file path without regard to letter case.
To read ASC X12 EDI files such as 834 benefit enrollment files, use the dedicated EDI (X12) source instead.

Delimited Values Parameters

Applies when record type is Delimited values.
1
Field delimiter: select comma, tab, semicolon, pipe, space, or \u0001 from the dropdown, or select Custom and type a single character or escape sequence:
2
String qualifier: if fields are enclosed in quotes, select ' or ". Any quote qualifier keeps line breaks inside quoted fields at runtime, so a quoted value that spans several lines is read as one field instead of being split into separate records. Select None when the files have no quote character; newlines then always end a record.The " (newline inside) and ' (newline inside) options behave the same as plain " and ' at runtime. They are hidden from the dropdown unless the component already has one of them saved, so existing packages keep working.
If a file uses " or ' as the qualifier but contains stray, unmatched quote characters in unquoted fields, several physical lines can merge into one record. Clean the source data or select None as the qualifier.If the stray quotes are inside quoted values instead (a value that starts with the qualifier, such as "the right to park "six vehicles"), don't select None: every quoted value that contains the delimiter would then be split. Turn on Allow stray quotes in quoted fields instead.
3
Escape character: available when a string qualifier is set. Specifies the character used to escape qualifier characters within field data.
4
Allow stray quotes in quoted fields: available when a string qualifier is set. Off by default. Turn it on for files where a qualifier inside a quoted value is not doubled or escaped, for example a value written as "the right to park "six vehicles" instead of "the right to park ""six vehicles".Without this setting, such a quote ends the value early. The rest of the line is then read as part of the next field and, because quoted values can span lines, every row after it can be lost while the job still completes.With it on, a qualifier ends a quoted value only when the field delimiter or the end of the line follows it. Any other qualifier is kept as text, and a doubled qualifier ("") still means one qualifier. The exception is a doubled qualifier directly before the delimiter or the end of the line: it's read as a stray quote followed by the closing quote, so a value that ends in a quoted phrase, such as "park "six cars"", reads as park "six cars".
A stray quote directly before the delimiter or at the end of a line looks exactly like a closing quote, so it still ends the value. Leave the setting off for files with spaces between a closing quote and the delimiter, such as "abc" ;"def": with it on, that quote no longer ends the value. Files that double every quote don't need the setting: with it on, a doubled quote directly before the delimiter inside a value, such as "say ""hi"";bye", ends the value.
5
Header: select where the header row is. See Header options.

Header Options

Applies when record type is Delimited values or Excel. Select one Header option: Parquet files carry their own schema, so the Header option is not shown for them.

Excel Parameters

Applies when record type is Excel.

Password-Protected Workbooks

If a workbook is encrypted with a password (set via Protect Workbook in Excel), open Advanced settings, check This file is password protected, and enter the password in the File Password field. Integrate.io decrypts the workbook during schema preview and job runs. Passwords containing special characters such as $ are supported. The checkbox appears when the record type is Excel, whatever the file extension. It is not shown when the source path ends in .xls, because legacy .xls files are not supported for password decryption. Unchecking the box clears any saved password.
Password-protected workbooks do not use streaming mode. When a password is set, enabling Ingest large Excel file reads the workbook in standard mode.When streaming a single sheet, date cells come through as Excel serial numbers (e.g. 45306). Declare those columns as int or decimal in your schema, or transform them downstream.

JSON Parameters

Applies when record type is JSON object. Base record JSONPath Expression: defines the base record and extracts nested objects or arrays. Read more about processing JSON data.

Source Action

HDFS reads all files directly from the source path. Incremental load (process only new files), Copy/merge, and Move processed files are not available for HDFS.

PGP Decryption

To decrypt source files encrypted with OpenPGP, open Advanced settings, set Decrypt file to PGP, and pick an active entry. The entry must hold a private key. Integrate.io decrypts each matching file before parsing it. Encryption and compression can be combined in either order: member.csv.gz.pgp is decrypted and then decompressed, and member.csv.pgp.gz is decompressed and then decrypted.
Paths that contain a space, semicolon, or parenthesis are not supported when a PGP key is set.
See PGP Keys for how to add and manage keys.

Source Schema

After defining the source location and format, select the fields to include. For each field, define:
  • Alias: how to refer to the field in downstream components. Illegal characters are flagged before you close the dialog.
  • Data type: the type to cast the field to.
  • Key (JSON only): the key name in the source JSON.
You can also add fields from the Meta Data section. They are not read from the file: Integrate.io fills them in for every row. A preview reads only the first file the path matches, so every preview row shows that file's path and time; a job run fills in each row's own file. Change a meta data field's alias to choose its column name. If the file already has a column named file_path or file_modified_at, that column is read like any other and the meta data field of the same name isn't offered. Use file_modified_at to tell apart deliveries of a file that keeps the same name, or to keep only the newest version of a resent file. It is the time the storage reports for the file, not the time the job ran (for that, use the $_JOB_SUBMISSION_TIMESTAMP variable):
  • Amazon S3, Google Cloud Storage, Azure Blob Storage: when the object was last written, usually the upload time.
  • SFTP, HDFS: the file's modification time, to the second.
  • FTPS: depends on the server. Many FTP servers report times only to the minute, and some in the server's local time zone.
  • A file inside a zip archive (a path such as archive.zip/data.csv): the archive's time.
Some transfer tools keep the original file's time when they copy it (for example rsync -t or scp -p). For files delivered that way, the value is when the file was created at the sender, not when it arrived.
file_modified_at is not available for Excel, Parquet, XML, EDI (X12) or whole-file raw sources, for a path ending in .zip, for Google Drive, or with the Process only new files (Incremental load) and Copy, merge and process all files source actions. In those cases the files are copied before they are read, and the copy does not keep the original time.

FAQ

Does HDFS support Kerberos authentication? No. Kerberos authentication is not currently supported. Use a standard username in the connection form. What is the HttpFS gateway and why is it required? Integrate.io accesses HDFS through the HttpFS REST gateway rather than the native HDFS protocol. The HttpFS hostname must be reachable from Integrate.io’s platform. If your cluster is behind a firewall, contact Integrate.io support. Can I use incremental load with HDFS? No. Only Process all files directly from source is available for HDFS.

HDFS Destination

File Storage Options

Pattern Matching in Source Paths

PGP Keys

Last modified on October 5, 2026