I tried this, and it doesn't seem to work. Specifically, the way I
tested it was adding:
<property>
<name>user.name</name>
<value>[my_username]</value>
</property>
to core-site.xml. I then tried a test mkdir, and did an ls which showed
the new folder had been created by my default whoami client username
instead of the new one I had set. Do I need to add it somewhere else, or
add something else to the property name? I'm using CDH3 with my Hadoop
cluster currently setup with one node in pseudo-distributed mode, in
case that helps.
Cheers,
Eli
On 1/12/12 5:39 PM, Joey Echeverria wrote:
Set the user.name property in your core-site.xml on your client nodes.
-Joey
On Thu, Jan 12, 2012 at 3:55 PM, Eli Finkelshteyn<[email protected]> wrote:
Hi,
If I have one username on a hadoop cluster and would like to set myself up
to use that same username from every client from which I access the cluster,
how can I go about doing that? I found information about setting
hadoop.job.ugi, and have tried setting this property variously in
hdfs-site.xml, core-site.xml, and mapred-site.xml, but nothing seems to
work. All I want is to be able to look like the same user no matter which of
my machines I connect to the cluster from. How can I do this?
Thanks!
Eli