first of all, files in HDFS are not stored as a whole. Rather they are chopped into blocks and these blocks are stored in a replicated manner across the cluster. So your question should be how to find the location of the second replica of a block and not the file.
You can point your web browser to namenode_machine:50070
, the HDFS webUI. Click on Browse the filesystem
and move to the file in question. Once you click on this file a new page will be opened. Scroll down to :
Total number of blocks: 1
-4906713039323389639: 127.0.0.1:50010
This shows you all the block of this file and the machine where they are placed.
HTH