hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Carol <dca...@blitzbs.com>
Subject Test read caching
Date Wed, 13 Aug 2014 09:14:37 GMT
Hi,

I'm trying to test Read Cache in HDFS on version 2.4.0.

I followed this article without success : 
http://blog.cloudera.com/blog/2014/08/new-in-cdh-5-1-hdfs-read-caching/

I made this cmds :

 >
hadoop-2.4.0/bin/hdfs cacheadmin -addPool testPool
 >
hadoop-2.4.0/bin/hdfs cacheadmin -addDirective -path /myfile -pool testPool
 >
hadoop2.4.0/bin/hdfs cacheadmin -listPools -stats testPool

I can see the directive with "-listDirectives" :

[hduser@nc-h04 ~]$ hadoop-2.4.0/bin/hdfs cacheadmin -listDirectives
Found 1 entry
  ID POOL       REPL EXPIRY  PATH
   2 testPool      1 never   /user/hive/warehouse/casino.db/magasin

BUT the file is never cached. Even if I use this file. I wait 1 day.

Any tips on that ?

Regards,
-- 

Damien CAROL

  * tél : +33 (0)4 74 96 88 14
  * fax : +33 (0)4 74 96 31 88
  * email :dcarol@blitzbs.com <mailto:dcarol@blitzbs.com>

BLITZ BUSINESS SERVICE


Mime
View raw message