You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Ravikumar Govindarajan <ra...@gmail.com> on 2015/07/21 12:45:55 UTC
Regex in dfsadmin setstoragepolicy
Is it possible for me to specify a regex in "dfsadmin -setstoragepolicy"
command?
I would like to write files with certain extensions using "One_SSD" policy
and remaining files to be written with "Hot" policy as described here…
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html#Set_Storage_Policy
Also,
The link says "*When a file or directory is created, its storage policy is *
*unspecified"*
Is it possible to specify a storage-policy hint programmatically via
FileSystem.create(…) call?
--
Ravi