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

Record a production accident of hadoop big data Cluster

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

The original hadoop and hbase clusters have been expanded one after another, and several nodes have been added without restarting. This morning, we found that a hregionserver service was stopped, so we started the service first. Unexpectedly, there has been an error in accessing data after startup. The following error occurred when trying to restart the entire hbase cluster:

$start-hbase.sh

Master running as process 112580. Stop it first.

The authenticity of host 'szc-l0104567 (192.168.1.81)' can't be established.

RSA key fingerprint is 76:e5:12:90:de:59:e1:da:02:f3:f1:2a:9a:a6:f8:c4.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'szc-l0104566 (192.168.1.80)' can't be established.

RSA key fingerprint is cd:d1:ad:98:ca:36:b5:ec:c3:1d:be:b8:8c:ae:bc:80.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'szc-l0124500 (192.168.1.95)' can't be established.

RSA key fingerprint is ec:3e:83:b0:bf:f0:3b:6d:7e:fa:e8:1d:7e:67:ed:27.

It can be seen from the literal meaning that there is a problem with the verification. When verifying that the hostname is passed without a password, you need to type "yes" to proceed.

I passed the password-less verification by copying the authorized_keys file to the .ssh directory of the other node, so I can only pass the password-free verification for IP without entering "yes", but I still need to enter "yes" when the host name is verified for the first time, so when adding a hregionser node, password-free verification requires manual verification of the host name for the first time. Or do password-free authentication in the following way.

Mode 2:

Ssh-copy-id-I / .ssh/id_rsa.pub username@IP

Ssh-copy-id-I / .ssh/id_rsa.pub username@HOSTNAME

Mode 3:

After performing the first step, copy authorized_keys or ssh-copy-id-I ~ /. Ssh/id_rsa.pub username@IP before performing the following steps

Ssh-o stricthostkeychecking=no HOSTNAME

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

Internet Technology

Wechat

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

12
Report