Suche senden
Hochladen
Hdfs
•
0 gefällt mir
•
853 views
T
tuzbing
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 22
Empfohlen
Linux files & folders
4, files & folders
4, files & folders
ted-xu
云存储系统设计
云存储系统设计
drewz lin
第4章 sql server数据库的管理
第4章 sql server数据库的管理
hanmo1988
Linux學習記錄第三份。
主機管理基本指令練習(三)
主機管理基本指令練習(三)
K- Peggy
Ch8 file system management(2013 ncu-nos_nm)
Ch8 file system management(2013 ncu-nos_nm)
Kir Chou
ch12
ch12
5045033
introduction of hdfs
Hdfs
Hdfs
baggioss
introducation of hdfs
Hdfs
Hdfs
baggioss
Empfohlen
Linux files & folders
4, files & folders
4, files & folders
ted-xu
云存储系统设计
云存储系统设计
drewz lin
第4章 sql server数据库的管理
第4章 sql server数据库的管理
hanmo1988
Linux學習記錄第三份。
主機管理基本指令練習(三)
主機管理基本指令練習(三)
K- Peggy
Ch8 file system management(2013 ncu-nos_nm)
Ch8 file system management(2013 ncu-nos_nm)
Kir Chou
ch12
ch12
5045033
introduction of hdfs
Hdfs
Hdfs
baggioss
introducation of hdfs
Hdfs
Hdfs
baggioss
MongoDB GridFS 简介, 以及如何通过PHP操作GridFS
MongoDB gridfs
MongoDB gridfs
Xue Wei
第4章 数据库管理
第4章 数据库管理
zhang shuren
introduction of hdfs
Hdfs
Hdfs
jiang yu
Short introduction of VFS and overlayfs
Overlayfs and VFS
Overlayfs and VFS
Hao(Robin) Dong
We adopt the basically structure of hdfs raid from Facebook, and we have migrated these feature to our cluster both in hadoop 1.x(0.20.203) and hadoop 2.x(hadoop 2.4) in Sina. We made some change during our development. Here is the theory of Rc code and the structure of hfs raid, besides we compared the efficiency of different Rc code and make a final conclusion.
Hdfs raid migration to hadoop 1.x
Hdfs raid migration to hadoop 1.x
Jiang Yu
hdfs introduction and implement
Hdfs原理及实现
Hdfs原理及实现
baggioss
Zh tw introduction_to_hadoop and hdfs
Zh tw introduction_to_hadoop and hdfs
TrendProgContest13
2011年3月珠三角技术沙龙深圳小沙龙主题
Dfs ning
Dfs ning
Andy Shi
雲端運算概論 (Fundamentals of Cloud Computing 4D031 ) Vision - Hadoop & MapReduce 介紹課程 之 Hadoop 簡介
Hadoop 簡介 教師 許智威
Hadoop 簡介 教師 許智威
Awei Hsu
[圣思园][Java SE]Io 1
[圣思园][Java SE]Io 1
ArBing Xie
IT03
IT03
Airray Liu
Weitere ähnliche Inhalte
Ähnlich wie Hdfs
MongoDB GridFS 简介, 以及如何通过PHP操作GridFS
MongoDB gridfs
MongoDB gridfs
Xue Wei
第4章 数据库管理
第4章 数据库管理
zhang shuren
introduction of hdfs
Hdfs
Hdfs
jiang yu
Short introduction of VFS and overlayfs
Overlayfs and VFS
Overlayfs and VFS
Hao(Robin) Dong
We adopt the basically structure of hdfs raid from Facebook, and we have migrated these feature to our cluster both in hadoop 1.x(0.20.203) and hadoop 2.x(hadoop 2.4) in Sina. We made some change during our development. Here is the theory of Rc code and the structure of hfs raid, besides we compared the efficiency of different Rc code and make a final conclusion.
Hdfs raid migration to hadoop 1.x
Hdfs raid migration to hadoop 1.x
Jiang Yu
hdfs introduction and implement
Hdfs原理及实现
Hdfs原理及实现
baggioss
Zh tw introduction_to_hadoop and hdfs
Zh tw introduction_to_hadoop and hdfs
TrendProgContest13
2011年3月珠三角技术沙龙深圳小沙龙主题
Dfs ning
Dfs ning
Andy Shi
雲端運算概論 (Fundamentals of Cloud Computing 4D031 ) Vision - Hadoop & MapReduce 介紹課程 之 Hadoop 簡介
Hadoop 簡介 教師 許智威
Hadoop 簡介 教師 許智威
Awei Hsu
[圣思园][Java SE]Io 1
[圣思园][Java SE]Io 1
ArBing Xie
IT03
IT03
Airray Liu
Ähnlich wie Hdfs
(11)
MongoDB gridfs
MongoDB gridfs
第4章 数据库管理
第4章 数据库管理
Hdfs
Hdfs
Overlayfs and VFS
Overlayfs and VFS
Hdfs raid migration to hadoop 1.x
Hdfs raid migration to hadoop 1.x
Hdfs原理及实现
Hdfs原理及实现
Zh tw introduction_to_hadoop and hdfs
Zh tw introduction_to_hadoop and hdfs
Dfs ning
Dfs ning
Hadoop 簡介 教師 許智威
Hadoop 簡介 教師 許智威
[圣思园][Java SE]Io 1
[圣思园][Java SE]Io 1
IT03
IT03
Hdfs
1.
HDFS源代码学习笔记
2.
目录 Google File
System体系结构 HDFS体系结构 具体设计:NameNode & DataNode 读文件块 写文件块 HDFS Federation体系结构 个人总结
3.
Google File System
4.
HDFS体系结构
HDFS采用master/slave架构。一个HDFS集群是由一个Namenode和一定数目的Datanodes组成。 还有一个Secondary NameNode。周期性将NameNode的命名空间镜像文件和修改日志合并以防日志文件过大。
5.
6.
块的管理(块的创建、删除等操作、副本的放置等)
7.
8.
块的管理(Block Management):支持客户端对块文件的访问。DataNode实现: 块数据的物理存储和访问。Datanode向NameNode的块管理层(非命名空间管理层)注册以形成存储层。
9.
NameNode的详细设计 NameNode主要存储了元数据信息和支持客户端对文件的访问。主要包含两大类:NameNode服务器类(Server类和HttpServer类)和FSNamesystem类。FSNamesystem类实际负责文件系统的管理。而NameNode服务器类则主要向外提供RPC接口和HTTP接口等服务。
10.
11.
12.
两大存储类
13.
主要使用两大存储类来记录整个文件系统:FSDataset类与Storage类。 Storage类的FSVolume与Storage类的StorageDirectory相对应。 Storage类主要是通常的文件组织形式的逻辑结构,便于以常用I/O接口对其进行访问。
FSDataset类则主要针对hadoop自身访问特性而组织文件存储的另一种逻辑结构形式。 整个文件系统在本地磁盘中以Storage类来存储整个文件系统,而运行前必须将以Storage类存储的文件系统转换为FSDdataset类。
14.
DataNode的工作流程 启动DataNode之前需要与NameNode进行握手实现DataNode与NameNode布局版本一致。 初始化DataNode的FSDataset对象,即初始化该DataNode所管理所有的存储空间。
向NameNode注册,告知NameNode该DataNode的主机名、存储ID以及提供服务的端口号等信息(并没有告知详细的Block信息)。 进入循环,每隔一段时间向NameNode发送心跳(heartbeat),其中主要内容如下图所示: NameNode根据接收到的心跳进行处理,并返回相应的命令给DataNode,使其继续执行工作。
15.
16.
上述DataNode与NameNode之间的交互始终围绕着如下原则进行:NameNode负责整个文件系统的命名空间的管理。真正的文件系统操作(读、写、修改等)的数据并不经过NameNode,而仅将这一过程反映到NameNode所管理的命名空间中,实际的工作是由DataNode来完成的。
17.
读文件过程
18.
写文件过程
19.
20.
21.
各个NameNode之间是相互独立的,不存在相互之间的协调。
22.
23.
个人总结与学习心得 HDFS的设计背景是用大量廉价、易出故障的机器组成集群来提供海量数据的存储服务,并且假设大量的读写访问,而修改则很少。因此,HDFS整个设计的核心就是保证可靠性(副本)以及快速实现文件的读写访问且以尽量少的代价来提供修改的服务。 阅读源代码时应多从设计者的角度来思考,这样有利于更好地理解源代码。
24.
Q&A 谢谢!