hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Regex in dfsadmin setstoragepolicy
Date Tue, 21 Jul 2015 10:45:55 GMT
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

Mime
View raw message