Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Record a production accident of hadoop big data Cluster

Shulou Source: shulou.com Published: 2022-06-03 05:39:32 11月24日 Update

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

Tags: Password authentication host method time node face-to-face input cluster copy first time service data unexpected literal opposite party meaning manual file is in Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple MariaDB NVidia Shulou Tech Info Linux