- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 Hadoop RPC
举个例子说明Protobuf 的主要运用:和datanode 交互主要通过ClientDatanodeProtocolorg.apache.hadoop.hdfs.protocolPB 有三个类 ClientDatanodeProtocolPB(接口) 定义了datanode 的方法:例如getHdfsBlockLocationsClientDatano
2014-06-19 10:38:51 683
原创 hive collection data type
Hive supports columns that are structs, maps, and arrayscreate tableemployees3(name STRING, salary FLOAT, subordinates ARRAY,deductions MAP, address STRUCT)ROW FORMAT DELIMITED FIELDS TERMIN
2014-06-12 17:28:41 772 2
原创 PriorityQueue的使用
import java.util.Comparator;import java.util.PriorityQueue;public class TestPriorityQueue { /* result: component:zookeeper, priority:0 component:hdfs, priority:1
2014-06-09 10:30:28 445
原创 HDFS HA ZKFC 分析
图片来源https://issues.apache.org/jira/secure/attachment/12521279/zkfc-design.pdf
2014-06-06 14:16:10 1512
原创 Flume(1.4)+Solr(4.3) Log analysis
Flume: event collector, typical usage is log collection.Solr: search engine based on LuceneFunction: watch /var/log/a1.new.log file. If new lines append to this file, it will send the event(
2014-06-03 11:08:05 1072 11
原创 Apache Thrift 使用
web url http://thrift.apache.org/Thrift 是facebook 开发出来的支持多语言相互通信的
2014-05-26 13:07:56 506
原创 com.google.common.base.Preconditions 使用
Preconditions 帮助程序员编写程序中的错误处理. Preconditions.checkNotNull(null, "element is not allowed to null");
2014-05-21 15:43:55 6700
Visual Assist x
2009-04-08
firebug firefox 的插件
2009-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人