标签:
错误日志如下:
2015-06-24 06:13:10,176 ERROR com.cloudera.cmf.eventcatcher.server.EventCatcherService: Error starting EventServer java.io.FileNotFoundException: /var/lib/cloudera-scm-eventserver/v3/_yu2.cfs (No such file or directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:69) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:90) at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:91) at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:66) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:55) at org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1193) at org.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:1213) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1149) 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:229) at com.cloudera.cmf.eventcatcher.server.EventCatcherService.main(EventCatcherService.java:130)
解决办法是在这里找到的: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的其他服务有问题时,也可同样如何处理
ClouderaManager中Event Server报No such file or directory
标签:
原文地址:http://www.cnblogs.com/hark0623/p/4596709.html