Hadoop 2.5.2 Environment Configuration

Source: Internet
Author: User

Http://bbs.pinggu.org/thread-3164833-1-1.html

1, Ssh:connect to host localhost Port 22:connection refused

This problem usually occurs because the SSH service is installed or started,

Ubuntu under Install ssh:sudo apt-get install Openssh-server

Fedora installation Ssh:yum Install Openssh-server

-See if the installation

[Email protected] java]$ Rpm-qa | grep "SSH"
Libssh2-1.4.3-10.fc20.x86_64
Openssh-clients-6.4p1-6.fc20.x86_64
Openssh-server-6.4p1-6.fc20.x86_64
Openssh-6.4p1-6.fc20.x86_64

-Check whether the service is started

[Email protected] java]$ PS-E | grep "SSH"
23419? 00:00:00 sshd

Systemctl Enable Sshd.service


2. Change the host name

For the Fedora13 version,

# HOSTNAME sub-segments in Vi/etc/sysconfig/network file

For the FEDORA20 version,

# Vi/ect/hostname

3. Change hosts to resolve host names

# vi/etc/hosts

4. Turn off the firewall

Service Iptables Stop

Hadoop 2.5.2 Environment Configuration

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.