上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: hbase(main):006:0> create 'test_table_region', 'username'0 row(s) in 1.2150 secondshbase(main):009:0> put 'test_table_region', '1', 'username:nick' ,'... 阅读全文
posted @ 2015-07-14 16:46 yanghuahui 阅读(2211) 评论(0) 推荐(0)
摘要: 简单记录几个hdfs的运维命令//查看hdfs的状态,是否有missing block,corrupt block等,也可以看datanode的状态hdfs dfsadmin -report//查看hdfs根目录下是否有文件处于missing,currupt状态,而且不是under replica的... 阅读全文
posted @ 2015-07-09 10:57 yanghuahui 阅读(417) 评论(0) 推荐(0)
摘要: 开发项目的时候,我们想知道一个maven的依赖库是来自那个工程,eclipse有插件可以直接看Dependency Hierarchy,推荐一个第三方的工具yED在工程的pom.xml文件中添加如下plugin描述: org.apache.maven.p... 阅读全文
posted @ 2015-07-09 10:46 yanghuahui 阅读(8921) 评论(0) 推荐(0)
摘要: hbase region split操作的一些细节,具体split步骤很多文档都有说明,本文主要关注regionserver如何选取split point首先推荐web ui查看hbase region分布的一个开源工具hannibal,建议用daemontool管理hannibal意外退出,自动重... 阅读全文
posted @ 2015-06-07 19:10 yanghuahui 阅读(3280) 评论(0) 推荐(1)
摘要: 预装如下环境autoconf 2.6.9automake 1.14libtool 2.4Building from sourceDownload latest version of procbuffer. [https://code.google.com/p/protobuf/downloads/l... 阅读全文
posted @ 2015-04-22 21:29 yanghuahui 阅读(6913) 评论(0) 推荐(0)
摘要: 十个最大的互联网公司,六个在美国,四个在中国中国创业的特殊市场巨大self-contained,做足中国市场就很够......监管领导力,人的要求之前成功带领过团队有海外的工作经历技术背景或者产品背景,not a 销售背景架构直接向国外老大汇报,而不是仅仅是一个publicfigure领导是一个创业... 阅读全文
posted @ 2015-04-14 21:59 yanghuahui 阅读(812) 评论(0) 推荐(0)
摘要: 总结安装过程如下:前提:安装git,go,make, docker(docker中编译docker)git clone https://git@github.com/docker/dockercd dockergit checkout -b v1.5.0 (这里选择你要编译的版本,看github... 阅读全文
posted @ 2015-03-10 15:59 yanghuahui 阅读(8353) 评论(5) 推荐(0)
摘要: 升级docker最新版(1.4.0)后,发现容器的硬盘空间只有10G,如果需要指定初始硬盘大小,目前的做法还比较粗暴,更改docker daemon的启动命令,然后删掉目前机器的已有镜像,重启docker服务,命令如下:sudo service docker stopsudo rm -rf /var... 阅读全文
posted @ 2014-12-25 14:01 yanghuahui 阅读(3452) 评论(0) 推荐(0)
摘要: 在scala中如果一个函数在最后一步调用自己(必须完全调用自己,不能加其他额外运算子),那么在scala中会复用函数栈,这样递归调用就转化成了线性的调用,效率大大的提高。If a function calls itself as its last action, the function's sta... 阅读全文
posted @ 2014-10-18 20:01 yanghuahui 阅读(1664) 评论(0) 推荐(0)
摘要: 你可能遇到这样的场景:开发软件时,需要像数据库(mysql,mongodb)、消息系统(rabbitmq)、缓存服务(redis)等其它依赖服务。当然我们可以找台机器,一步步安装依赖,然后把所有依赖的服务都安装好,这就是一台测试机。为了避免重复的劳动,vm层面的解决方案就是把这个测试机做成镜像,以后... 阅读全文
posted @ 2014-08-28 15:31 yanghuahui 阅读(13783) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页