hdfs dfsadmin -report
# プールの作成
hdfs cacheadmin -addPool expr
#プールの削除
hdfs cacheadmin -removePool expr
# プールの確認
hdfs cacheadmin -listPools -statsa
# キャッシュへの追加
hdfs cacheadmin -addDirective -path /user/hive/warehouse/kdd12track2.db/training_orcfile -pool expr
# キャッシュへの追加 (TTL付き)
hdfs cacheadmin -addDirective -path /user/hive/warehouse/kdd12track2.db/training_orcfile -pool expr -ttl 30m
hdfs cacheadmin -addDirective -path /dataset/a9a/test -pool expr -ttl 30m
# エントリの確認
hdfs cacheadmin -listDirectives -stats
# キャッシュからの削除
hdfs cacheadmin -removeDirectives -path /user/hive/warehouse/kdd12track2.db/training_orcfile
Created
September 22, 2014 06:25
-
-
Save myui/fc15755d1ab3ad1e3f2a to your computer and use it in GitHub Desktop.
HDFS caching
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment