hadoop 报错 org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException
报错:
org.apache.hadoop.hdfs.DFSClient:Failed to close file
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException)
解决方法:
修改linux打开文件最大限制
echo "fs.file-max = 65535" >> /etc/sysctl.conf echo "* - nofile 65535" >> /etc/security/limits.conf sysctl -p
ulimit -n
修改hadoop配置
vi hdfs-site.xml
<property> <name>dfs.datanode.max.xcievers</name> <value>8192</value> </property>
相关推荐
minerd 2020-10-28
WeiHHH 2020-09-23
tomli 2020-07-26
eternityzzy 2020-07-19
飞鸿踏雪0 2020-07-09
swazerz 2020-06-22
ViMan0 2020-06-21
zzjmay 2020-06-08
sujins 2020-06-05
strongyoung 2020-06-01
sujins 2020-05-30
sujins 2020-05-29
archive 2020-05-28
changjiang 2020-11-16
Aleks 2020-08-19
WeiHHH 2020-08-17