HADOOP CREATE CUSTOM KEY WRITABLE

Hadoop Create Custom Key Writable Example

Table of Contents1. Overview2. Development Environment3. Steps for creating custom Key writable data types3.1 Implement WritableComparable Interface3.2 write method3.3 readFields method3.4 Add Default Constructor3.5 equals and hashCode3.6 compareTo4. Sample Input File5. Example5.1…

HADOOP CREATE CUSTOM VALUE WRITABLE EXAMPLE

Hadoop Create Custom Value Writable Example

Table of Contents1. Overview2. Development Environment3. Steps for creating custom value writable data types3.1 Implement Writable Interface3.2 write method3.3 readFields method3.4 Add Default Constructor4. Sample Input File5. Example5.1 pom.xml5.2 FamilyWritable5.3 FamilyMapper5.4 FamilyReducer5.5…

Debug Hadoop Map Reduce Code

Table of Contents1. Overview2. Development Environment3. Steps To Debug Code locally3.1 Add hadoop-mapreduce-client-jobclient maven dependency3.2 Set local file system3.2 Set Number of mappers and reducers4. Example4.1 pom.xml4.2 MultipleOutpusDebugDriver.java4.3 MultipleOutpusMapper.java5. Build & Debug6….

Hadoop Multiple Outputs Example

Hadoop Multiple Outputs Example

Table of Contents1. Overview2. Development Environment3. MultipleOutputs4. Sample Input 5. Example5.1 pom.xml5.2 MultipleOutputsDriver5.3 MultipleOutputsMapper6. Steps To Run6.1 Build & Prepare Jar6.2 Copy Data to HDFS6.3 Run7. Output8. References9. Source Code 1. Overview…

Passing Function To Spark

Passing Function to Spark

Table of Contents1. Overview2. Development environment3.Problem Statement4 Project Structure5. Solution5.1 Loading the External Dataset5.2 Separate the Adult and Minors for counting5.2.1 Passing Function to Spark5.2.2 Create Paired RDD in Spark…

Spark RDD Operations

Spark RDD Example

Table of Contents1. Overview2. Development environment3. Input Files4 Project Structure5. Solution5.1 Loading the external dataset5.2 Parallelizing a collection6. API & References 1. Overview With advancement in technologies, Data is growing…

How to Design a Web Page with JSP

How to Design a Web Page with Java Server Page (JSP)

Table of Contents1. Overview2. Java Server Page(JSP) functionalities2.1 Enhanced Servlet2.2 Easy to Handle2.3 Quick Development2.4 Require Less Code3. Java Server Page (JSP) Lifecycle4. Example4.1 demo.jsp4.2 Executing JSP Page5. Conclusion6. References 1. Overview JSP technology is…

Java 8 Optional Class

Java 8 Optional Class

Table of Contents1. Overview2. Development Environment3. Advantages of Java 8 Optional Class4. Optional Class Method With ExampleOptional class  of(), ofNullable(), empty(), get() methodsOf()ofNullable()Empty()Get()Example of Optional Class  Methods  Optional class Map()…