On Jun 21, 2006, at 1:00 AM, Philippe Gassmann wrote:
In the hadoop-site.xml file you have : dfs.data.dir
This property is used by the servers to indicate where to store data.
This property is also used by the client. When creating
DFSClient.DFSOutputStream, a temporary file is created in
${dfs.data.dir}/tmp. I think this is not the right thing to do, because
you need to maintain on the client machine, the same directory
structure
(including rights on them) as in the servers. And when, for instance,
you try to install an hadoop server and a client on the same machine
for
testing purpose, you have to cope with terrible things...
I agree that it should be a different variable. Your first reason is
the compelling one, in my opinion. Clients and servers don't
necessarily have the same directory structure. Is there already a jira
issue open on this? If not, there probably should be.
-- Owen