Error:map.xml could only be replicated to 0 nodes instead of minReplication (=1)

简介: 1.场景: hive执行一条sql语句,然后map,reduce做完了,写数据over了 2.错误:java.lang.RuntimeException: Error caching map.

1.场景: hive执行一条sql语句,然后map,reduce做完了,写数据over了

2.错误:
java.lang.RuntimeException: Error caching map.xml: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /tmp/hive/root/675fa67b-59c3-4de7-99a9-3f5be9f6685c
/hive_2016-07-19_16-11-06_796_8611429774960723114-1/-mr-10013/f1b1cc9d-19ef-448c-8b9d-3e48129c7fec/map.xml could only be replicated to 0 nodes instead of minReplication (=1).
There are 3 datanode(s) running and no node(s) are excluded in this operation.


3.分析:
1>.检查集群服务状态是否正常
2>.新建个txt文件,然后put到hdfs系统,再次检查
3>.磁盘空间不足

 

4.解决方法:
a.检查各个节点的磁盘是否99%,100%
df -h

b.查询出大于100M的文件
find / -type f -size +100000000c -exec du -sh {} \;

c.删选不要的文件或者日志,删除,降低磁盘使用

rm -f 文件目录

5.验证:

目录
相关文章
|
9月前
|
XML 数据安全/隐私保护 数据格式
Minio出现Non-XML response from server. Response code: 400, Content-Type: text/xml; ch的解决
Minio出现Non-XML response from server. Response code: 400, Content-Type: text/xml; ch的解决
1554 0
|
XML Java 数据库连接
问题记录:Could not find resource *******Mapper.xml
使用mybatis时这个错是一个很常见的错误了,这个报错也很明显就是找不到某某的mapper.xml文件,首先我们应该清楚mapper.xml文件会在我们编译时被加载到(复制一份过去)对应的class路径下,出现这个错的根本原因在于在程序执行时,去对应路径下找这个mapper文件,却找不到,就会报出这个错误
240 0
|
XML 数据格式
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
158 0
|
JSON 数据格式
解决:Could not write JSON: No serializer found for class *** and no properties错误
解决:Could not write JSON: No serializer found for class *** and no properties错误
555 0
|
XML 数据格式
Fiori Elements - list report.xml layout and fragment xml load
Fiori Elements - list report.xml layout and fragment xml load
Fiori Elements - list report.xml layout and fragment xml load
|
XML 数据格式
使用simple transformation查找xml file内某个节点的attribute是否存在指定value
使用simple transformation查找xml file内某个节点的attribute是否存在指定value
114 0
使用simple transformation查找xml file内某个节点的attribute是否存在指定value
How to change the default S2.view.xml load logic
Created by Jerry Wang, last modified on Mar 24, 2015
How to change the default S2.view.xml load logic
|
Java Maven
web.xml is missing and <failOnMissingWebXml> is set to true[解决]
web.xml is missing and <failOnMissingWebXml> is set to true[解决]
113 0
web.xml is missing and <failOnMissingWebXml> is set to true[解决]