Getting data from HDFS

A Hadoop Distributed File System (HDFS) is a Java-based, distributed, scalable, and portable file system for the Hadoop framework. With PDI, pulling data back out from the Hadoop File System is really easy. In fact, we can treat it just like any other flat file source. Here are the steps for reading a file from Hadoop:

  1. Open Spoon and create a new Transformation.
  2. From the Big Data category, drag to the work area, the Hadoop File Input step.
  3. Edit the Hadoop File Input step. This will be used to pull the input file information.
  4. Under Environment, select <Static>.
  5. For the File/Folder field, enter the connection information to get to the file. For instance, if the data is stored in a file named samplefile.csv under the ...

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.