hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Datskos <george.dats...@jp.fujitsu.com>
Subject Re: access hadoop cluster from ubuntu on laptop
Date Wed, 13 Mar 2013 02:06:48 GMT

If you aren't using kerberos security, you can use the HADOOP_USER_NAME 
env variable

$ HADOOP_USER_NAME=hdfs hadoop fs -touchz /abc


> I'd like to access hadoop cluster from my laptop (through ubuntu). I 
> put configuration files under /etc/hadoop/cluster/conf and set up env 
> variable HADOOP_CONF_DIR=/etc/hadoop/cluster/conf
> However, my problem is that my ubuntu user name is different from my 
> user name on the cluster. I tried to find where I can specify my 
> username in the configuration files but unsuccessfully.
> Can anyone point me how to specify my username in the config files?
> Thanks.
> Dan

View raw message