Archive
-
▼
2015
(97)
-
▼
December
(97)
- FAQ Hadoop -5
- FAQ Hadoop - 4
- FAQ - Hadoop - 3
- FAQ Hadoop - 2
- FAQ Hadoop - 1
- How good are a city's farmer's markets?
- Custom Partitioner
- Aggregate all the synonyms of a word(Using KeyVaue...
- Combiner
- Showing high and low for a day across all stock sy...
- WordCount Example
- Job Processing in Map Reduce
- Ways to MapReduce
- Functional Programming: Map/Reduce
- Custom Hadoop Writable Data Type
- Implementing the tool interface
- Anagrams
- Find the frequency of books published in each year
- Callback on Mapreduce Job Completion
- HBase Architecture
- HBase introduction
- HBase Data Model
- Datamodels
- size of classes
- Name Hiding
- Call Derived Class method from Base Class
- Composition
- Aggregation
- Association
- Data Abstraction
- Data Encapsulation
- Object
- Class
- Association Summary
- Model-View-Controller
- Architecture Vs Design
- 3 Tier Architecture
- Two Tier Software Architecture
- System design parameters
- Single Responsibility Principle
- Lisknov Substitution Principle
- Dependency Inversion Principle
- Interface Segregation Principle
- Open Closed Principle
- SOLID Introduction
- Hide Implementation Details:
- Coupling and Cohesion
- cookies
- External Javascript file
- Ex:11 Data Validation
- Ex:10 Open new window
- Ex9: browser detection
- Ex:8 Back & forward in web
- Ex:7 Arrays
- Ex:6->Accessing form data
- Ex:5->Read user i/p
- Ex:4->background color
- Ex:3->Alert Box
- Ex2:->Confirm Box
- Ex:1 -> Simple output message
- Javascript Structure
- Javascript Introduction
- Mutable keyword
- Bitwise Operators
- Inheritance
- Smart Pointers
- Singleton
- Facade
- Adapter
- Observer Pattern
- Threading - FAQ
- Readers-writers problem
- Producer/Consumer Problem
- Binary Semaphore
- Mutex
- Semaphore
- Livelock
- Locking types:
- Thread Safety
- Joining threads:
- pthreads
- Threading
- Operator Overloading
- FAQ on constructors
- Constructors
- Initialization List
- Differences between new/delete and malloc/free
- Default methods written by compiler
- Copy Constructors
- Shallow Copy Vs Deep Copy
- Function Pointers
- Polymorphism
- Overriding
- Virtual Mechanism
- Profiling in Perl: NYTProf
- Memory Leak detection using valgrind
- Profiling using Callgrind tool
-
▼
December
(97)
Powered by Blogger.
Recent Comments
Archive for 2015
FAQ Hadoop -5
41) What are the different relational operations in “Pig Latin”?
They are:
i. for each
ii..
FAQ Hadoop - 4
31) Explain “Distributed Cache” in a “MapReduce Framework”
“Distributed Cache” is an important.
FAQ - Hadoop - 3
21) What are the features of a “Fully Distributed” mode?
“Fully Distributed” mode is used in.
FAQ Hadoop - 2
11) Why do we use HDFS for applications having large data sets and not when there are a lot of.
FAQ Hadoop - 1
1) List the various Hadoop daemons and their roles in a Hadoop cluster.
Namenode: It is.
How good are a city's farmer's markets?

Input:
Program:
import java.io.IOException;
import java.util.Iterator;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.TextInputFormat;
import org.apache.hadoop.mapred.TextOutputFormat;
import org.apache.hadoop.mapred.FileInputFormat;
import org.apache.hadoop.mapred.FileOutputFormat;
import org.apache.hadoop.mapred.JobClient;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.MapReduceBase;
import org.apache.hadoop.mapred.Mapper;
import org.apache.hadoop.mapred.OutputCollector;
import org.apache.hadoop.mapred.Reducer;
import org.apache.hadoop.mapred.Reporter;
public class MarketRating {
public static class MapClass extends MapReduceBase implements
Mapper<LongWritable,.