Hello, I would like to ask if I can do the following. Assuming that I have a datanode, i.e., dn1, which already contains some useful blocks. Here, I do not want to save new data blocks to the datanode, but I still want to use the blocks that already exist in the datanode (dn1). I considered to use exclude file (dfs.hosts.exclude). However, if I add "dn1" to the exclude file list, I cannot use blocks that are already contained in dn1. If it is right, can you please give me some guidances to do what I'm thinking using HDFS?
Thanks,