Mac configuration Hadoop most detailed process

Source: Internet
Author: User
Tags lost password

I. Preparatory work:

1. JDK1.7 version and above (it seems that Hadoop only supports more than 1.6 versions, not sure, for the sake of 1.7, I use 1.8)

2.2.7.3 version of Hadoop https://archive.apache.org/dist/hadoop/common/hadoop-2.7.3/download the one with more than 200 m

Two. Configure SSH password-free login

1. Turn on the remote connection for your Mac

System Preferences--shared--Telnet

2. If you have read, and have followed the configuration

, you can skip this step, otherwise:

Open terminal (terminal), enter and always return, ask you yes/no remember to lose yes

ssh-keyagent-t

Jump to ~/.ssh directory after completion

CD ~/. SSH

View the files in the directory

Ls

Make sure you have these two key files in your directory

3. Enter the following code to password-free login

Cat ~/. ssh/id_rsa.pub > ~/. ssh/authorized_keys

4. Verify, enter the following code

ssh localhost

If as shown, direct prompt last login + time is not lost password directly logged in

Mac configuration Hadoop most detailed process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.