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': 17