HDFS centralized cache management
来源:互联网 发布:python wi fi破解 编辑:程序博客网 时间:2024/06/07 17:40
Hadoop 2.3.0解决了如下几个问题:
- 可以指定自己的热点数据常存内存;
- NameNode manage centralized cache;
- without DataNode OS buffer cache to saving resoureces;
- speed up HDFS client read .when the block cache in memory ,directly using zero-copy read from cache pass thougth hard I/O、checksum.
下面内容是参考
cache directive: 表示要被cache到内存的文件或者目录。
cache pool: 用于管理一系列的cache directive,类似于命名空间
具体操作:
[root@HDP01 ~]# [root@HDP01 ~]# hdfs cacheadmin -addPool financialAccessControlException: Access denied for user root. Superuser privilege is required[root@HDP01 ~]# [root@HDP01 ~]# su hdfdssu: user hdfds does not exist[root@HDP01 ~]# su hdfs[hdfs@HDP01 root]$ hdfs cacheadmin -addPool financialSuccessfully added cache pool financial.[hdfs@HDP01 root]$ exitexit[root@HDP01 ~]# hdfs cacheadmin -addDirective -path /test/install.log -pool financial -replication 1AccessControlException: Permission denied while accessing pool financial: user root does not have WRITE permissions.[root@HDP01 ~]# [root@HDP01 ~]# su hdfs[hdfs@HDP01 root]$ hdfs cacheadmin -addDirective -path /test/install.log -pool financial -replication 1Added cache directive 1[hdfs@HDP01 root]$ [hdfs@HDP01 root]$ hdfs cacheadmin -listPoolsFound 1 result.NAME OWNER GROUP MODE LIMIT MAXTTLfinancial hdfs hadoop rwxr-xr-x unlimited never[hdfs@HDP01 root]$ [hdfs@HDP01 root]$ hdfs cacheadmin -listPoolsFound 1 result.NAME OWNER GROUP MODE LIMIT MAXTTLfinancial hdfs hadoop rwxr-xr-x unlimited never[hdfs@HDP01 root]$ [hdfs@HDP01 root]$ hdfs cacheadmin -listDirectivesFound 1 entry ID POOL REPL EXPIRY PATH 1 financial 1 never /test/install.log [hdfs@HDP01 root]$
centralized cache和distributed cache的区别:
- distributed cache:disk locality,
- centralized cache:memory locality。
0 0
- HDFS centralized cache management
- Centralized Cache Management in HDFS
- Centralized Cache Management in HDFS
- HDFS新特性Centralized Cache Management介绍
- HDFS中的集中缓存(Centralized Cache Management in HDFS)
- HDFS中的集中缓存 (Centralized Cache Management in HDFS)
- HDFS集中式缓存管理(Centralized Cache Management)
- HDFS集中式缓存管理(Centralized Cache Management)
- HDFS缓存集中管理特性:Centralized Cache Management
- Hadoop浅解Centralized Cache Management(集中式缓存管理)
- Cache Management in ASP.NET
- Centralized Logging
- Centralized Logging
- HDFS智能化存储管理:Smart Storage Management
- LINK - Azure - Session/Cache State Management
- Centralized Logging Architecture
- Centralized Logging Architecture
- Centralized Logging Using Rsyslog
- codeblocks “That file isn't assigned to any target.”
- Android getResources的作用和需要注意点
- package 元素的所有属性及对应功能
- MySql绿色版配置及使用详解
- linux Centos 自动备份mysql
- HDFS centralized cache management
- 样式空格
- Android:hierarchy viewer unable to debug device--解决办法
- 软考之排序算法(三)——交换排序
- 模块管理常规功能自定义系统的设计与实现(23--二个模块之间的关联[1])
- eclipse创建android项目时会多出一个appcompat_v7的问题
- 写代码时应该注意的问题
- xml文件编译无法找到id
- Myeclipse内存溢出问题