Java is Simple, Object Oriented, Distributed, Multithreaded, Dynamic, Architecture neutral, Portable, High performance, Robust, Secure. The Java tutorial are practical guides for programmers who want to use the Java programming language to create applications.
- Trail Covering the Basics.
- Creating Graphical User Interfaces (
GUI). - Specialized Trail and Lessons.
WordCount example reads text files and counts how often words occur. To run mapreduce Hadoop environment is required. Read more To run example:
-
Run
mvn clean verifyfor java project -
Optional: Copy
.jarfile to server which is connected to Hadoopscp -p target/*.jar [server-name]:
-
Assume
hdfslocation is/user/[user-name]/java-mapreduce -
Copy resource(s) file to hdfs:
hdfs dfs -put /user/[user-name]/java-mapreduce -
Run command below:
# syntax: hadoop jar [jar-name].jar [java-class] [input-files] [output-dir] hadoop jar java-0.0.1-SNAPSHOT.jar com.samovich.specialized.mapreduce.WordCount /user/WDPRO-CUSTANALYTICS-PROD/java-mapreduce/*.txt /user/WDPRO-CUSTANALYTICS-PROD/java-mapreduce/output
- Java Reference Guide is a free tutorial for syntax and examples.
- Maven repositories is used to hold build artifacts and dependencies of varying types.
- JSON Online Editor is a web-based tool to view, edit, and format
JSONwith tree view. - JSON Lint is a web-based
JSONValidator. - JSON Path is a web-based online tool
JSONPath evaluator. - Vogella Provides premium Java, Android and Git training and support.
- Java Brains Learn and advance your Java skills online.
- Mkyong Java, and Testing Frameworks, Web Services Build Tools examples and etc.
- Michael Noll Applied Research. Big Data. Distributed Systems. Open Source.
- DRY (Don't Repeat Yourself) and other tips from The Pragmatic Programmer
- SOLID Principles of Object-Oriented Programming:
- S : Single Responsibility Principle
- O : Open/Closed Principle
- L : Liskov Substitution Principle
- I : Interface Segregation Principle
- D : Dependency Inversion Principle