Skip to Content
Machine Learning: Hands-On for Developers and Technical Professionals
book

Machine Learning: Hands-On for Developers and Technical Professionals

by Jason Bell
November 2014
Beginner to intermediate
408 pages
8h 44m
English
Wiley
Content preview from Machine Learning: Hands-On for Developers and Technical Professionals

Appendix BHadoop 1.x Quick Start

Chapter 10 covers Hadoop, and the example is based on Hadoop's MapReduce version 1 engine (MR1). The instructions in this appendix are for the MR1 engine. You might want to consider the Hadoop 2 version, which has performance improvements; installation is very similar to the following steps.

If you are running Mac OS X or a Unix operating system (for example, Linux) then the following instructions apply.

Downloading and Installing Hadoop

You can download Hadoop from one of the Apache mirror sites. I used http://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/.

Look for the hadoop-1.2.x release and download the .tar.gz, where x is the highest number. There are extra links to “stable1,” “stable2,” and “current,” that help guide you to the correct version.

tar xvzf hadoop-x.x.x-bin.tar.gz

In the configuration directory (called conf), edit the hadoop-env.sh file and edit the JAVA_HOME line:

export JAVA_HOME=/path/to/wherever/your-java/is

Also (this is a part that's very rarely mentioned), if your SSH configuration has a different port set up (the default port is 22, but the paranoid ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Machine Learning for Developers

Machine Learning for Developers

Rodolfo Bonnin
Machine Learning for Business

Machine Learning for Business

Richard Nichol, Doug Hudgeon
Machine Learning

Machine Learning

Mohssen Mohammed, Muhammad Badruddin Khan, Eihab Mohammed Bashier
Machine Learning

Machine Learning

Subramanian Chandramouli, Saikat Dutt, Amit Kumar Das

Publisher Resources

ISBN: 9781118889497Purchase book