Skip to content

samovich433/java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

864 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java Build Status license Docker Automated buil

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.

Oracle Java Documentations:

  • Trail Covering the Basics.
  • Creating Graphical User Interfaces (GUI).
  • Specialized Trail and Lessons.

MapReduce

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 verify for java project

  • Optional: Copy .jar file to server which is connected to Hadoop

    • scp -p target/*.jar [server-name]:
  • Assume hdfs location 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
    

Appendix

  • 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 JSON with tree view.
  • JSON Lint is a web-based JSON Validator.
  • JSON Path is a web-based online tool JSON Path 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.

Notes

  • 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

About

Java tutorial and related technologies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors