cat /var/log/flume/flume-flume-master-xxx.log
异常:
2012-05-04 15:56:56,156 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to port 0.0.0.0/0.0.0.0:3181 2012-05-04 15:56:56,187 INFO org.apache.zookeeper.server.persistence.FileSnap: Reading snapshot /tmp/flume-flume-zk/server-0/version-2/snapshot.0 2012-05-04 15:56:56,202 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0 2012-05-04 15:56:58,094 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:00,098 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:02,101 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:04,105 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:06,108 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:08,112 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:10,116 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:12,118 INFO com.cloudera.flume.master.ZKInProcessServer: server 0.0.0.0:3181 not up yet 2012-05-04 15:57:12,119 ERROR com.cloudera.flume.master.FlumeMaster: IO problem: ZooKeeper server did not come up within 15 seconds
本文来自: Flume启动失败问题一则
Building site: /home/wwwroot/doc.elasticsearch.cn -> /home/wwwroot/doc.elasticsearch.cn/_site /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/convertible.rb:29:in `read_yaml': invalid byte sequence in GB18030 (ArgumentError) from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/page.rb:24:in `initialize' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:140:in `new' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:140:in `block in read_directories' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `read_directories' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:135:in `block in read_directories' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `read_directories' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:98:in `read' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/lib/jekyll/site.rb:38:in `process' from /usr/local/rvm/gems/ruby-1.9.2-p318/gems/jekyll-0.11.2/bin/jekyll:250:in `<top (required)>' from /usr/local/rvm/gems/ruby-1.9.2-p318/bin/jekyll:19:in `load' from /usr/local/rvm/gems/ruby-1.9.2-p318/bin/jekyll:19:in `<main>' </main></top>
本文来自: Jekyll遭遇编码问题
安装 git sudo apt-get install git-core 配置 git服务器
#创建git服务器管理用户 sudo useradd -m git sudo passwd git #创建git仓库存储目录 sudo mkdir /home/git/repositories #设置git仓库权限 sudo chown git:git /home/git/repositories sudo chmod 755 /home/git/repositories
初始化全局设置
git config --global user.name "medcl" git config --global user.email "m@medcl.net"
安装python的setup tool
#easy_install setuptools wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz tar zxvf setuptools-0.6c11.tar.gz cd setuptools-0.6c11 python setup.py install yum install python-setuptools
获取并安装gitosis
cd /tmp git clone git://github.com/res0nat0r/gitosis.git cd gitosis python2.4 setup.py install #注意必须是2.4,如果你还有2.5之类的话,将会报:raise DistributionNotFound(req)
本文来自: gitosis
fudannllp,一个不错的NLP开源库:http://code.google.com/p/fudannlp/ 使用LGPL协议(GNU Lesser General Public License)
FudanNLP 是以统计机器学习为基础,并结合人工规则来处 理中文自然语言以及信息检索、信息抽取的各种任务。
阅读这篇文章的其余部分
本文来自: fudanNLP试玩
carrot2是一个对搜索结果聚合的开源项目,做了一个插件,用来实现elasticsearch搜索结果的聚合,carrot2调用的是mahout的库,本插件支持几个简单的参数配置,先发个版本,有时间再改进。
github地址:
https://github.com/medcl/elasticsearch-carrot2/downloads
安装方法:
1.下载stopword词典配置文件(https://github.com/downloads/medcl/elasticsearch-carrot2/config.zip),解压到config目录
2.下载安装插件
bin/plugin install medcl/elasticsearch-carrot2/1.0
3.重启ElasticSearch
4.安装完毕
... ...
阅读这篇文章的其余部分
本文来自: brisk cluster deploy
搭建的http://s.medcl.net使用的是nginx来做elasticsearch的proxy反向代理,如何做的呢?
nginx与elasticsearch配置
阅读这篇文章的其余部分



