![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hadoop
小菜菜ovo
这个作者很懒,什么都没留下…
展开
-
解决SSH登录时出现Warning: Permanently added告警问题
问题:hbase0slave01: Warning: Permanently added the ECDSA host key for IP address 'xxx.xxx.xxx.xxx' to the list of known hosts.解决办法:创建~/.ssh/config 文件vim ~/.ssh/config在文件中输入下面内容:UserKnownHostsFile ~/.ssh/known_hosts...原创 2020-12-08 19:35:28 · 50979 阅读 · 4 评论 -
Permission denied: user=dr.who, access=READ_EXECUTE, inode=“/tmp“:root:supergroup:drwx-wx-wx
问题:Permission denied: user=dr.who, access=READ_EXECUTE, inode="/tmp":root:supergroup:drwx-wx-wx原因:权限不够解决办法:root@master:/usr/local/hadoop# hdfs dfs -chmod -R 755 /tmp原创 2020-12-05 23:32:03 · 489 阅读 · 0 评论 -
Attempting to operate on hdfs namenode as root
在/hadoop/sbin路径下:将start-dfs.sh,stop-dfs.sh两个文件顶部添加以下参数#!/usr/bin/env bashHDFS_DATANODE_USER=rootHADOOP_SECURE_DN_USER=hdfsHDFS_NAMENODE_USER=rootHDFS_SECONDARYNAMENODE_USER=root还有,start-yarn.sh,stop-yarn.sh顶部也需添加以下:#!/usr/bin/env bashYARN_RESOURC转载 2020-12-05 22:58:39 · 371 阅读 · 0 评论 -
SSH无密钥配置和配置公钥后仍需要输入密码的解决方案
如果A将公钥拷贝到B,但是A登陆B仍然需要输入密码,此时应当修改B主机的配置文件。(1)打开sshd_config配置文件sudo vi /etc/ssh/sshd_config2)修改配置如下#禁用root账户登录,如果是用root用户登录请开启 PermitRootLogin yes # 是否让 sshd 去检查用户家目录或相关档案的权限数据, # 这是为了担心使用者将某些重要档案的权限设错,可能会导致一些问题所致。 # 例如使用者的 ~.ssh/ 权限设错时,某些特殊情况下会不许用原创 2020-12-05 09:22:30 · 404 阅读 · 0 评论 -
Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable.
Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable. [FAILED]这个是权限的问题可采取以下两步解决chown -R root.root /var/empty/sshdchmod 744 /var/empty/sshdservice sshd restart就可以解决上述的问题转载于:https://www.cnblogs.com/felixzh/p/101800原创 2020-12-05 00:05:18 · 298 阅读 · 0 评论 -
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException):
错误:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException): Failed to APPEND_FILE /user/root/aaaa.txt for DFSClient_NONMAPREDUCE_-832332576_1 on 172.17.0.1 because DFSClient_NONMAPREDUCE_-832332576_1 is already t原创 2020-11-22 21:02:04 · 2141 阅读 · 0 评论 -
MapReduce程序的Type mismatch异常处理方法
Type mismatch in key from map: expected org.apache.hadoop.io.Text, received org.apache.hadoop.io.Lon这个异常是因为你的 map函数和reduce函数调用了它们的父类,将那个语句删除就ok啦原创 2020-11-09 20:53:55 · 540 阅读 · 0 评论