晚上9点30:03.266分 ERROR EventCatcherService
Error starting EventServer
java.io.IOException: No sub-file with id .fnm found (fileName=_1f9.cfs files: [f474fa52c5c7e5cfdc49"resourcemanager (wyx-cdh-, xp, _log_event
, _event
wyx-cdh-hadoop01$26aad5c1-285c-479f-9fe1-3811e94b8827warn5yarn-resourcemanager-f25, yarn (mr2 included)])
at org.apache.lucene.index.CompoundFileReader.openInput(CompoundFileReader.java:155)
at org.apache.lucene.index.CompoundFileReader.openInput(CompoundFileReader.java:144)
at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:74)
at org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1226)
at org.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:1242)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1175)
at com.cloudera.cmf.eventcatcher.server.SingleIndexManager.makeIndexWriter(SingleIndexManager.java:139)
at com.cloudera.cmf.eventcatcher.server.SingleIndexManager.<init>(SingleIndexManager.java:112)
at com.cloudera.cmf.eventcatcher.server.EventCatcherService.<init>(EventCatcherService.java:286)
at com.cloudera.cmf.eventcatcher.server.EventCatcherService.main(EventCatcherService.java:169)
解决办法是在这里找到的:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/9iEmaJELI44
I'd recommend moving /var/lib/cloudera-scm-eventserver to /var/lib/cloudera-scm-eventserver-old and restart event server. You'll lose historical health data and other events. CM will recreate the dir on restart.
即执行 mv /var/lib/cloudera-scm-eventserver /var/lib/cloudera-scm-eventserver-old
然后再启动服务即可。
ClouderaManager的其他服务有问题时,也可同样如何处理
标签:index,cloudera,java,sub,IndexWriter,file,apache,org From: https://blog.51cto.com/wang/8433365