ERROR: Found lingering reference file hdfs

Found lingering reference异常

ERROR: Found lingering reference file hdfs://jiujiang1:9000/hbase/month_hotstatic/5af24d51488823419d155283441c2d0f/c/9b58bc5e853f445e9f28b98a36da6d04.b330aa24d0e3652ae89e6674fc2b3689


官方解决:

第一种解决:hbase hbck -fixReferenceFiles  month_hotstatic



另一种方法:

#http://stackoverflow.com/questions/17810443/error-found-inconsistency-in-table-hbase

This looks like you had a failed region split, see [HBASE-8052] (https://issues.apache.org/jira/browse/HBASE-8502) for more details.

This bug leaves references to parent regions that have been moved in HDFS. To fix, just delete the reference files listed in the HBCK output e.g. hadoop fs -rm hdfs://master:8020/hbase/LogTable/f41ff2fae25d1dab3f16306f4f995369/l/d9c7d33257ae406caf8d94277ff6d247.fbda7904cd1f0ac9583e04029a138487.

Once the bad references are gone the region should be assigned automatically. You may have to do the assignment from the shell, in my experience though it only takes a minute or two for the region to get reassigned. Then run hbase hbck -fix again to confirm there are no other inconsistencies.

 hbase hbck > 1.log 2>&1

 cat 1.log | grep -i "ERROR" 

 cat 1.log | grep -i "ERROR" | awk -F"ERROR: Found lingering reference file " '{print $2}' >a.txt

#!/bin/sh

while read line
do
        hadoop fs -rmr $line

done < a.txt

时间: 2024-09-12 13:30:43

ERROR: Found lingering reference file hdfs的相关文章

关于WAS当中FFDC报告error in opening zip file剖析及解决

 http://yulimin.javaeye.com/blog/299956   关于WAS当中FFDC报告java.util.zip.ZipException: error in opening zip file剖析及解决 问题: WAS下FFDC日志目录中出现如下的错误,打开zip文件错误 Java代码 FFDC Exception:java.util.zip.ZipException SourceId:com.ibm.ws.classloader.ClassLoaderUtils.add

cannot poen file- fatal error LNK1104:cannot open file&amp;amp;quot;.各种.lib&amp;amp;quot;怎么办

问题描述 fatal error LNK1104:cannot open file".各种.lib"怎么办 MFC程序在别的机器上可以跑,到我这VC6.0组建程序时总是出现fatal error LNK1104:cannot open file "*****.lib",比如,我每次都根据错误提示添加对应的a.lib文件,一组建又会出现cannot open file"b.lib",添加了b.lib,又出现cannot open file"

【oracle】ORA-01580 error creating control backup file

早上查看报警邮件的时候发现了ORA-01580 error creating control backup file. 通常次错误与RMAN 备份控制文件的策略有关: 比如: RMAN> backup current controlfile; Starting backup at 22-AUG-11 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: s

fatal error LNK1104: cannot open file &#039;MSCOREE.lib&#039;

 新建CLR项目,直接运行,提示错误:fatal error LNK1104: cannot open file 'MSCOREE.lib' MSCOREE.lib was moved for Visual Studio 2008.  It now resides here: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64 将上面2个目录

Eclipse中编译Android项目工程失败,提示: Error in an XML file: aborting build 解决办法

问题: 在Eclipse中编写Android项目代码时,假设当前激活窗口是某个xml文件,此时,你按键Ctrl+F11或者F11,就会生成一个类似*.out.xml的文件,然后在console窗口提示一下错误: [2011-09-24 03:14:54 - HelloWorld] Error in an XML file: aborting build. [2011-09-24 03:14:54 - HelloWorld] res/layout/main.xml:0: error: Resour

ORA-00205: error in identifying control file, check alert log for more info

境:oracle10gR2   solaris10 操作:在没有创建pfile的情况下,直接执行了以下命令 1 SQL>create pfile from spfile; 2 SQL>shutdown immediate 3 SQL>startup 4 ORA-00205: error in identifying control file, check alert log for more info 查看alter_TEST.log文件 Tue Jul 03 13:37:49 CST

PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法_php技巧

今天在写PHP程序的时候总是出现这样的错误:Parse error: syntax error, unexpected end of file in *.php on line *,然后我就根据提示,找到那个文件,然后错误中总是提示最后一行出错,我找到最后一行发现是</html>,晕的,这能有什么错误,找了好久才找到问题所在,拿来分享. 出现这个错误的原因就是语法错误,肯定是PHP程序的书写不规范造成,我后来一条一条看才发现,原来是PHP语句标识符错了,正常情况下应该是这样的:<?php

line 10:syntax error: unexpected end of file

在Linux运行如下脚本的时候: 点击(此处)折叠或打开 #/bin/bash echo "You are logged in as `whoami`" if [ `whoami` != root ]; then echo "Must be logged on as root to run this script." fi 遇到如下错误:line 10:syntax error: unexpected end of file 多方测试始终不见效果,最终同事陈大师找到

创建控制文件副本出现错误ORA-00205: error in identifying control file

测试环境:OEL6.5+Oracle 11g R2     在做多路复用控制文件的实验时,创建控制文件总是会报错误:ORA-00205: error in identifying control file, check alert log for more info 下面是当时的操作过程: 点击(此处)折叠或打开 SYS@ORCL> show parameter control_files; NAME                 TYPE     VALUE ----------------