当前位置:   article > 正文

hadoop基本操作-002_info sasl.sasldatatransferclient: sasl encryption

info sasl.sasldatatransferclient: sasl encryption trust check: localhosttrus

上一篇我们已经搭建好hadoop集群,之后我们可以访问2个地址

  1. http://192.168.10.103:8088/cluster
  2. http://192.168.10.102:9870/dfshealth.html#tab-overview

我们在hadoop102上创建文件

[root@hadoop102 hadoop-3.1.3]# hadoop fs -mkdir /wcinput

 上传文件

  1. [root@hadoop102 hadoop-3.1.3]# hadoop fs -put wcinput/word.txt /wcinput
  2. 2022-10-15 14:42:26,228 INFO sasl.SaslDataTransferClient: SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = false
  3. [root@hadoop102 hadoop-3.1.3]#

  1. [root@hadoop102 hadoop-3.1.3]# hadoop fs -put /opt/software/jdk-8u251-linux-x64.tar.gz /
  2. 2022-10-15 14:45:04,690 INFO sasl.SaslDataTransferClient: SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = false
  3. 2022-10-15 14:45:07,333 INFO sasl.SaslDataTransferClient: SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = false
  4. [root@hadoop102 hadoop-3.1.3]#

  1. [root@hadoop102 hadoop-3.1.3]# hadoop fs -mkdir /input
  2. [root@hadoop102 hadoop-3.1.3]# hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar wordcount /input /output

如果不小心杀死进程的话,需要删除data和log文件夹,每台机器都要运行,先停止再删除

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/613886
推荐阅读
相关标签
  

闽ICP备14008679号