Hadoop DP Notes
Home
Contact Us
Search
How to globally sort the output from a Mapreduce Job?
TotalOrderPartitioner
class can be used instead of default
HashPartitioner
class to generate the output from Mapreduce job to be in globally sorted order.
Job.setPartitionerClass(TotalOrderPartitioner.class);
Newer Post
Older Post
Home
What are the main components of Mapreduce Job ?
Main driver class which provides job configuration parameters. Mapper class which must extend org.apache.hadoop.mapredu...
TO_CHAR
This will be used to extract various date formats. The available date formats as follows. Syntax: to_char ( date , fo...