摘要: 1. 下载YCSB 0.1.3:wget https://github.com/brianfrankcooper/YCSB/archive/0.1.3.tar.gz如果提示“wget:命令没找到”,那么需要先运行yum -y install wget安装wget2. 解压缩:tar zxvf 0.1... 阅读全文
posted @ 2014-04-29 23:41 SunshineAtNoon 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 基础配置:Hadoop 2.2.0,Hbase 0.96。四台集群机器,一台master,三台slave。三台slave上分别装gmond;namenode机器上设置datasource。客户端:安装wget:sudo yum -y install wget安装epel库: a) 下载epel r... 阅读全文
posted @ 2014-04-29 23:25 SunshineAtNoon 阅读(675) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu... 阅读全文
posted @ 2014-04-29 21:01 SunshineAtNoon 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointe... 阅读全文
posted @ 2014-04-29 17:32 SunshineAtNoon 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],... 阅读全文
posted @ 2014-04-29 10:40 SunshineAtNoon 阅读(150) 评论(0) 推荐(0) 编辑