learn hadoop codes