-Re: cli login as different user
Harsh J 2012-03-12, 14:58
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
<[EMAIL PROTECTED]> wrote:
> 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) ?