The best way is to use sudo command to execute hadoop client. Does it work for you?
Nicholas ----- Original Message ---- > From: Bob Remeika <[EMAIL PROTECTED]> > To: [email protected] > Sent: Wednesday, June 11, 2008 12:56:14 PM > Subject: client connect as different username? > > Apologies if this is an RTM response, but I looked and wasn't able to find > anything concrete. Is it possible to connect to HDFS via the HDFS client > under a different username than I am currently logged in as? > > Here is our situation, I am user bobr on the client machine. I need to add > something to the HDFS cluster as the user "companyuser". Is this possible > with the current set of APIs or do I have to upload and "chown"? > > Thanks, > Bob
