|| at Dec 22, 2010 at 1:21 pm
Replication level is a per-file setting (and it can be changed at any time), as long as it is within the namenode's minimum and maximum. If none is set explicitly by the user, it will use the client's default.
Look through the Java API documents to see how to do this for the class you are using.
On Dec 22, 2010, at 2:40 AM, Zhenhua Guo wrote:
I know there is a configuration parameter that can be used to specify
number of replicas.
I wonder whether I can specify different values for some files in my
program by using HDFS APIs.