Java Basic Knowledge

A Java program can be defined as a collection of objects that communicate via invoking each other’s methods.

  • Java is a Object-Oriented Language:
    • Polymorphism
    • Inheritance
    • Encapsulation
    • Abstraction
    • Classes: A class can be defined as a template/blue print that describes the behaviors/states that object of its type support.
    • Objects: Objects have states and behaviors.
    • Instance
    • Method
    • Message Parsing

Setup Vim as an IDE

Simple steps to setup your Vim as an IDE for python, scala and so on.
If you are not fimiliar with Vim, you can read this blog first: Getting Started with Vim by Vimtutor.

Install spf13-vim

spf13-vim is a distribution of vim plugins and resources for Vim, GVim and MacVim. We firstly install it as the basic IDE and then do some customizations:

1
2
3
4
$ sudo yum update
$ sudo yum install git
$ vim --version # checkout >=7.4
$ curl http://j.mp/spf13-vim3 -L -o - | sh

Hadoop Guide Chapter 3: The Hadoop Distributed Filesystem

HDFS is a filesystem designed for storing very large files with streaming data access patterns, running on clusters of commodity hardware.

The design of HDFS

Filesystems that manage the storage across a network of machines are called distributed filesystems. One of the biggest challenges is making the distributed filesystem tolerate node failure without suffering data loss. The hadoop distributed filesystem is called HDFS, which stands for Hadoop Distributed Filesystem.

|