摘要:我们可以用ganglia 来监控mongo ,先查看ganglia目录/usr/local/ganglia/lib64/ganglia/modpython.so 是否有有python模块的支持如果不存在,可能在编译安装ganglia之前没有安装python或者没有指定python目录#安装gmond的python度量模块,可以rpm安装(ganglia-gmond-modules-python-3.1.1-1.i386.rpm),也可以手动安装,我用的是手动安装我们可以到https://github.com/ganglia/gmond_python_modules/tree/master/mo
阅读全文
摘要:ntpdate ntp1.nl.nethadoop集群要保证各服务器时间一致!不然会报一些错误Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container. This token is expired. current time is 1393504160542 found 1393504069719
阅读全文
摘要:我用的spring 3.2 的版本,用responseBody 返回JSON 在IE下会变成下载,试了很多办法终于解决了!@Controller@RequestMapping("/data")public class TestController { @ResponseBody @RequestMapping(method = RequestMethod.GET,value = "/channel/{type}") public Channel getChannel(@PathVariable String type){ Channel c = new
阅读全文