HDFS File Destination
Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory
The HDFS File Destination component enables an SSIS package to write data to a HDFS file. The supported file formats are Text, Avro, and ORC.
To configure the HDFS File Destination, drag and drop the HDFS File Source on the data flow designer and double-click the component to open the editor.
Options
Configure the following options on the General tab of the Hadoop File Destination Editor dialog box.
Field | Description |
---|---|
Hadoop Connection | Specify an existing Hadoop Connection Manager or create a new one. This connection manager indicates where the HDFS files are hosted. |
File Path | Specify the name of the HDFS file. |
File format | Specify the format for the HDFS file. The available options are Text, Avro, and ORC. |
Column delimiter character | If you select Text format, specify the column delimiter character. |
Column names in the first data row | If you select Text format, specify whether the first row in the file contains column names. |
After you configure these options, select the Columns tab to map source columns to destination columns in the data flow.
Prerequisite for ORC File Format
Java is required to use ORC file format. Architecture (32/64-bit) of the Java build should match that of the SSIS runtime to use. The following Java builds have been tested.
Set Up Zulu's OpenJDK
- Download and extract the installation zip package.
- From the Command Prompt, run
sysdm.cpl
. - On the Advanced tab, select Environment Variables.
- Under the System variables section, select New.
- Enter
JAVA_HOME
for the Variable name. - Select Browse Directory, navigate to the extracted folder, and select the
jre
subfolder. Then select OK, and the Variable value is populated automatically. - Select OK to close the New System Variable dialog box.
- Select OK to close the Environment Variables dialog box.
- Select OK to close the System Properties dialog box.
Set Up Oracle's Java SE Runtime Environment
- Download and run the exe installer.
- Follow the installer instructions to complete setup.