hadoop小问题总结

重要命令:
向hdfs上传文件命令 hadoop-2.7.1目录下
bin/hdfs dfs -put wcinput/wc.input /
bin/hdfs dfs -put /opt/software/hadoop-2.7.2.tar.gz /

Xshell链接不上
步骤一:
vim /etc/ssh/sshd_config
#UseDNS yes #修改为
  UseDNS no

重启sshd
service sshd restart


步骤二:
编译配置文件

vim /etc/rsyslog.conf

注释掉蓝色部分

# Everybody gets emergency messages

#*.emerg
重启rsyslog服务

/etc/init.d/rsyslog restart

 

启动集群命令:
hadoop01:sbin/start-dfs.sh
hadoop02:sbin/start-yarn.sh


桌面加载不出来,重启虚拟机

 

posted @ 2020-09-05 11:57  XA科研  阅读(175)  评论(0编辑  收藏  举报