`
文章列表
来源:http://www.spnguru.com/2010/08/zookeeper%E5%85%A8%E8%A7%A3%E6%9E%90%E2%80%94%E2%80%94paxos%E7%9A%84%E7%81%B5%E9%AD%82/   Zookeeper全解析——Paxos作为灵魂 原计划在介绍完ZK Client之后就着手ZK Server的介绍,但是发现ZK Server所包含的内容实在太多,并不是简简单单一篇Blog就能搞定的。于是决定从基础搞起比较好。 那么ZK Server最基础的东西是什么呢?我想应该是Paxos了。所以本文会介绍Paxos以及它在ZK Se ...
  来源:http://www.searchtb.com/2011/01/understanding-hbase.html   HBase简介   HBase – Hadoop Database,是一个高可靠性、高性能、面向列、可伸缩的分布式存储系统,利用HBase技术可在廉价PC Server上搭建起大规模结构化存储集群。 HBase是Google Bigtable的开源实现,类似Google Bigtable利用GFS作为其文件存储系统,HBase利用Hadoop HDFS作为其文件存储系统;Google运行MapReduce来处理Bigtable中的海量数据,HBase同样利 ...
海量数据处理:十道面试题与十个海量数据处理方法总结 作者:July、youwang、yanxionglu。 时间:二零一一年三月二十六日 本文之总结:教你如何迅速秒杀掉:99%的海量数据处理面试题。有任何问题,欢迎随时交流、指正。 出处:http://blog.csdn.net/v_JULY_v。 ------------------------------------------   第一部分、十道海量数据处理面试题 1、海量日志数据,提取出某日访问百度次数最多的那个IP。 首先是这一天,并且是访问百度的日志中的IP取出来,逐个写入到一个大文件中。注意到IP是32
来源: http://webcache.googleusercontent.com/search?q=cache:KYssdPHmkHoJ:www.techmajha.com/2010/04/15/rpmforge-yum-repository/+nagios+Configuration+validation+failed&cd=10&hl=zh-CN&ct=clnk http://heipark.iteye.com/blog/1190929   service nagios start 出错: nagios is stopped Configuratio ...
  Configuring Sharding     http://www.mongodb.org/display/DOCS/A+Sample+Configuration+Session 理论:http://www.mongodb.org/display/DOCS/Configuring+Sharding   A Sample Configuration Session
来源:http://docs.mongodb.org/manual/tutorial/install-mongodb-on-redhat-centos-or-fedora-linux/   ps aux | grep mongo /usr/bin/mongod -f /etc/mongod.conf   Install MongoDB on RedHat Enterprise, CentOS, or Fedora Linux Synopsis This tutorial outlines the basic installation process for deploying ...

Nginx Primer

来源: http://blog.martinfjordvald.com/2010/07/nginx-primer/ http://wiki.nginx.org/Configuration   [root@h133 ~]# yum install nginx 启动: /etc/init.d/nginx start /etc/init.d/nginx stop 测试: http://192.168.110.130/ 帮助信息:/etc/init.d/nginx --help 查看相关信息: [root@localhost nginx]# /usr/sbin/nginx -h   ...
来源:http://www.taobaodba.com/html/525_525.html   Sharding cluster介绍   这是一种可以水平扩展的模式,在数据量很大时特给力,实际大规模应用一般会采用这种架构去构建monodb系统。 要构建一个 MongoDB Sharding Cluster,需要三种角色: Shard Server: mongod 实例,用于存储实际的数据块,实际生产环境中一个shard server角色可由几台机器组个一个relica set承担,防止主机单点故障 Config Server: mongod 实例,存储了整个 Cluster Me ...
来源:http://www.cnblogs.com/windphoenix/archive/2012/05/21/2511702.html     mongodb shell 无法删除问题 1、MongoDB Shell中退格键使用的问题。 利用SecureCRT工具访问linux的时候,在使用MongoDB的交互式shell的时候,退格键(Backspace)无法使用,导致无法修改输入的字符。为这个错误,废了好长时间的力气,终于找到了错误的原因。其实,主要是SecureCRT工具默认的字符输入模式的问题,可以通过以下方式修改: 第一步:选择Option菜单中的Session ...
来源:http://www.ashishpaliwal.com/blog/2012/04/using-hadoop-distributed-cache/     Hadoop has a distributed cache mechanism to make available file locally that may be needed by Map/Reduce jobs. This post tried to expand a bit more on the information provided by the javadoc ofDistributedCache Use C ...
来源:http://roserouge.iteye.com/blog/746391   hadoop 0.20.2 api里面,作业被重新定义到了类 org.apache.hadoop.mapreduce.Job。 它有3个特别的方法: job.setPartitionerClass(Partitioner p); job.setSortComparatorClass(RawComparator c); job.setGroupingComparatorClass(RawComparator c);   数据在被map处理过之后,会根据 Partitioner 定义的规则,把中间 ...
来源:http://docs.python.org/library/email-examples.html http://www.tutorialspoint.com/python/python_sending_email.htm http://www.juyimeng.com/simple-python-send-mail-sample-code-with-smtp-auth.html     Here’s an example of how to create an HTML message with an alternative plain text version:[2] ...
pymongo安装: 参考:http://pypi.python.org/pypi/pymongo/#downloads   $ git clone git://github.com/mongodb/mongo-python-driver.git pymongo $ cd pymongo/ $ python setup.py install       备注: yum install git 如果找不到git,要需要先添加EPEL(Extra Packages for Enterprise Linux) repository.     备注:   tarfile.R ...
Global site tag (gtag.js) - Google Analytics