Fayson的github: https://github.com/fayson/cdhproject
推荐关注微信公众号:“Hadoop实操”,ID:gh_c4c535955d0f
1 异常重现
在CM上从HDFS进入文件浏览器,出现异常提示如下

Reports Manager (Reports Manager (cdh01)) 无法完成请求" Could not access index for service 'hdfs'. If High Availability is enabled, nameservice must also be specified.

查看Reports Manager的角色日志,发现下面异常信息
Error starting search service
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported in file 'segments_2': 1701995890 (needs to be between -1 and -11). This version of Lucene only supports indexes created with release 3.0 and later.
Index build failed for service hdfs
org.apac

当尝试从HDFS文件浏览器访问时遇到异常,问题源于'Reports Manager'为HDFS服务创建索引失败。解决方案包括停止并移动RM工作目录文件,然后重启服务以重建索引,从而恢复正常访问。
最低0.47元/天 解锁文章
815

被折叠的 条评论
为什么被折叠?



