Suppose my user name is "nicholas" and "nicholas" is already configured as a proxy user. Now, is there a way for "nicholas" to run a dfs command (say mkdir) as another user "foo"?
@szetszwo, you can do this with haodop impersonation by setting the env variable $HADOOP_PROXY_USER=foo
Thanks a lot! Ming and I have tried it. It works well.