为impala开启HDFS缓存

时间:2021-04-14 12:00:19   收藏:0   阅读:0

HDFS缓存

集中式缓存管理,由Datanode堆外内存组成,Namenode统一管理

优点:

解决步骤

hdfs cacheadmin -listPools
hdfs cacheadmin -addPool idnmk -owner hive
alter table idnmk.t70_idn_loan_rate set cached in ‘idnmk‘ with replication = 3;
show table stats idnmk.t70_idn_loan_rate;
hdfs cacheadmin -listPools -stats idnmk

技术图片

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!