• ClouderaManager中Event Server报No such file or directory


    错误日志如下:

    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的其他服务有问题时,也可同样如何处理

  • 相关阅读:
    python调用c/c++库函数方法小结(c++和python的整合)
    一个机器学习的好网站
    Notepad++支持列选择模式
    awk的效率和python split 效率对比
    python 中的反射,装饰器,with语句
    hierarchy 在大数据上聚类的利弊
    shell 某个日期前的某一天(待补充)
    通过 cgi 运行 python 在lighttp上
    (译)Node.js的全局变量
    (译)Node.js的模块-exports和module.exports
  • 原文地址:https://www.cnblogs.com/hark0623/p/4596709.html
Copyright © 2020-2023  润新知