Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problems encountered in Hadoop installation and use

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to solve the problems encountered in the installation and use of Hadoop", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn "how to solve the problems encountered in the installation and use of Hadoop"!

1 ssh-host-config

Error: There are still ssh processes running. Please shut them down first.

Solution: ps-ef | grep-v grep | grep ssh kill-9 xxx

2 ssh localhost

Error: connection closed by 127.0.0.1

Solution: (1) mkpasswd-l-c > / etc/passwd

(2) mkgroup-l-d > / etc/group

(3) re-enter Cygwin,mkpasswd and mkgroup prompt disappears, configure ssh again, and execute ssh localhost

= = > http://bbs.hadoopor.com/thread-348-1-1.html

3 JAVA_HOME

Export JAVA_HOME=/cygdrive/c/Progra~1/Java/jdkxxx, because Cygwin does not recognize the space in the middle of "Program Files", if you do not follow the above settings, the system cannot find the Jdk installation directory.

Of course, you can also add a connection under the / usr/local directory of Cygwin to make it easy to configure JAVA_HOME. For example:

Ln-s / cygdrive/c/Program\ Files/Java/jdkxxx / usr/local/jdkxxx

Export JAVA_HOME=/usr/local/jdkxxx had better be written under bash_profile)

At this point, I believe you have a deeper understanding of "how to solve the problems encountered in the installation and use of Hadoop". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report