![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hadoop
ScottTiger
自我充实
展开
-
Google Protocol Buffer简介(一)
在阅读Chromium Remoting源代码时,遇到了.proto文件。经过搜索,在Google Code上找到了对这种文件的详细说明:Protocol Buffer。这里,对这个机制做一简介。本文将以Python语言为例,介绍: .proto文件的格式 使用Protocol Buffer编译器 使用Python语言的Protocol Buffer API来读写消息 更多转载 2012-12-01 14:45:07 · 603 阅读 · 0 评论 -
Google Protocol Buffer简介(二)
protocol buffer 是 google 的一种数据交换的格式,它独立于语言,独立于平台。google 提供了三种语言的实现:java、c++ 和 python,每一种实现都包含了相应语言的编译器以及库文件。由于它是一种二进制的格式,比使用 xml 进行数据交换快许多。可以把它用于分布式应用之间的数据通信或者异构环境下的数据交换。本文通过一个简单的示例介绍 protocol buffer。转载 2012-12-01 21:32:50 · 855 阅读 · 0 评论 -
CentOS上安装Hadoop0.23
0. 能上网是必须的,否则很难。 1. 安装java jdk-6u22-linux-i586-rpm.bin ,下载里直接执行。 2. 安装c++ ,第5步用的。 yum install gcc-c++ 3. 下载hadoop 0.23 先装svn yum install subversion s转载 2012-12-01 14:41:38 · 481 阅读 · 0 评论 -
在Eclipse中导入hadoop
准备 (1)需要有gcc、autoconf、automake来编译安装google的protocol buffer (2)http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz 进目录 ./configure --prefix=/usr/local make make check sudo make ins转载 2012-12-01 14:56:46 · 830 阅读 · 0 评论