上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: 原文链接:http://standalone.iteye.com/blog/1727544现在版本的hadoop各种server、client RPC端通信协议的实现是基于google的protocol buffers的,如果对这个不熟悉,读code的时候会比较痛苦一些,所以花了些时间学习了一下,然后仿照写了个比较简单的例子,麻雀虽小,五脏俱全,看懂了我这个或许对你读hadoop的code有帮助! :) 我现在实现一个简单的server-client方式的calculator,client将计算请求序列化成protocol buffers形式然后发给server端,server端反序列化后将完 阅读全文
posted @ 2012-11-21 22:06 蜗牛123 阅读(1339) 评论(0) 推荐(1) 编辑
摘要: 2010-10-18 10:12 by zhenjing, 12317 阅读, 27 评论, 收藏, 编辑Problem 1 : Is it a loop ? (判断链表是否有环?)Assume that wehave a head pointer to a link-list. Also assumethat we know the list is single-linked. Can you come up an algorithm to checkwhether this link list includes a loop by using O(n) time and O(1) spac 阅读全文
posted @ 2012-11-21 21:59 蜗牛123 阅读(283) 评论(0) 推荐(0) 编辑
摘要: C/C++推荐书籍:C++程序设计语言 Bjarne Stroustrup(入门书籍熟读一本即可)C++ Primer(第四版) Stanley B.Lippman, Josee Lajoie (用于查阅)C++编程规范:101 条规则、准则与最佳实践 HerbSutter, Andrei Alexandrescu 2006 (More) Exceptional C++ HerbSutter 2006(More) Effective C++ Scott Meyers 2006Exceptional C++ style:40个新的工程难题、编程问题及解决方案 HerbSutter ... 阅读全文
posted @ 2012-11-21 21:57 蜗牛123 阅读(275) 评论(0) 推荐(0) 编辑
摘要: hbase系统搭建2012-07-25 12:25 by zhenjing, 1168 阅读, 0 评论, 收藏, 编辑相关软件版本:jdk-6u32-linux-x64.bintar xzvf hadoop-1.0.2.tar.gztar xzvf hbase-0.92.1-security.tar.gzjdk-6u32-linux-x64.bin注:目前已经有更高版本0. 设置集群机器的hostname;1. 建立hadoop用户,如hadoop;2. 配置ssh(简单办法:先在单机上生成ssh key pair文件,将授权文件拷贝到相应的机器上)3. 安装java、hadoop、hbas 阅读全文
posted @ 2012-11-21 21:52 蜗牛123 阅读(244) 评论(0) 推荐(0) 编辑
摘要: HBase是一个分布式的、面向列的开源数据库,该技术来源于Chang et al所撰写的Google论文“Bigtable:一个结构化数据的分布式存储系统”。就像Bigtable利用了Google文件系统(File System)所提供的分布式数据存储一样,HBase在Hadoop之上提供了类似于Bigtable的能力。HBase是Apache的Hadoop项目的子项目。HBase不同于一般的关系数据库,它是一个适合于非结构化数据存储的数据库。另一个不同的是HBase基于列的而不是基于行的模式。查看精彩图册目录简介访问接口存储格式编辑本段简介 HBase – Hadoop Database,. 阅读全文
posted @ 2012-11-21 21:48 蜗牛123 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页