Skip to content

Instantly share code, notes, and snippets.

View Lokesh-Patil's full-sized avatar

Lokesh Patil Lokesh-Patil

View GitHub Profile
@Lokesh-Patil
Lokesh-Patil / 00-CreatingSequenceFile
Created March 15, 2019 05:26 — forked from airawat/00-CreatingSequenceFile
Hadoop Sequence File - Sample program to create a sequence file (compressed and uncompressed) from a text file, and another to read the sequence file.
This gist demonstrates how to create a sequence file (compressed and uncompressed), from a text file.
Includes:
---------
1. Input data and script download
2. Input data-review
3. Data load commands
4. Mapper code
5. Driver code to create the sequence file out of a text file in HDFS
6. Command to run Java program