Permission denied (publickey
决解方案
相关命令
bash
cd ~/.ssh
ssh-keygen -t rsa -p""
cat id_rsa.pub >> authorized_keys
chmod 0600 authorized_keys
相关链接Hadoop: start-dfs.sh permission denied - Stack Overflow
Java HotSpot(TM) Server VM warning: You have loaded library /usr/local/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2023-09-14 20:28:11,146 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
解决方法
bash
#hadoop lib
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"