Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> cli login as different user

Copy link to this message
Re: cli login as different user

You'll have to ensure (or provide) that your regular users can also
access the same script.

One way is to have regular package installations - Apache Bigtop helps
provide Apache Hadoop packages for consumption, for instance - for
RPM/DEB installations and more, and you can use those.

The other alternative, if you use tarballs, is to make sure all your
hadoop users have the $HADOOP_HOME/bin on their PATH, so they can use
the command as any other first class command from their shell (without
needing to specify a path).

Or are you seeing issues when you try the command as non-installation
user? If so, what error do you observe?

On Mon, Mar 12, 2012 at 8:24 PM, Petru Dimulescu
> Hi, how can I run any hadoop.sh command (e.g. hadoop fs -ls /) as
> non-default user (is there some CLI switch, or evironment variable) ?
> Thanks

Harsh J