免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2132 | 回复: 2
打印 上一主题 下一主题

文件系统(GFS hadoop) 与open write...系统调用 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-26 10:58 |只看该作者 |倒序浏览
《The Google File System》中有一段
GFS provides a familiar file system interface, though it
does not implement a standard API such as POSIX. Files are
organized hierarchically in directories and identified by pathnames.
We support the usual operations to create, delete,
open, close, read, and write files.
貌似另外提供了一套API,
GFS和开源的文件系统像hadoop的实现是调用的系统提供的open read write close这些系统调用,然后提供另外的API还是直接自己管理硬盘的

论坛徽章:
0
2 [报告]
发表于 2008-12-26 11:09 |只看该作者
原帖由 zhongyj 于 2008-12-25 18:58 发表
《The Google File System》中有一段
GFS provides a familiar file system interface, though it
does not implement a standard API such as POSIX. Files are
organized hierarchically in directories a ...


当然是自己管理硬盘,open/read/write等系统调用都是基于文件系统的,GFS显然是一个新的文件系统。

论坛徽章:
0
3 [报告]
发表于 2008-12-26 11:21 |只看该作者

回复 #2 emacsnw 的帖子

刚才又看到一段
We do not provide the POSIX API and
therefore need not hookin to the Linux vnode layer.
应该是没用到open read这些系统调用了

假设如果一个机器上安装了redhat,而且整个硬盘都格式化成ext3了,这种情况下GFS这些文件系统怎么管理的呢
另外oracle好像也是自己管理存储的,而我安装oracle的时候都是装载一个目录下,数据文件也是指定的一个目录名,这个也有和上面一样的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP