You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bigtop.apache.org by Doug Chang <do...@stanfordalumni.org> on 2012/05/09 22:24:13 UTC
should we add the creation of a hadoop user to the install
instructions on the wiki page?
Hi: confused.....
The wiki on the bigtop pages says for the CENTOS version to download the
bigtop.repo file as root.
Then I think we are supposed to create a separate user such as hadoop using
~]# adduser --system --shell /bin/bash --user-group --create-home hadoop
before we install bigtop or after we install bigtop we create a user using:
~]# adduser --system --shell /bin/bash --g hadoop --create-home hadoop
once the hadoop user is created we can: su hadoop, and install the hadoop
components b/c otherwise the instructions su yum install hadoop\* wouldnt
make sense....
not sure if this is correct or not. Can update the wiki page with these
steps if this makes sense.
thanks
dc
Re: should we add the creation of a hadoop user to the install
instructions on the wiki page?
Posted by Doug Chang <do...@stanfordalumni.org>.
Thanks Roman. I was using the AWS Redhat instances. It logs me in under
root, I had to create a separate user, redhat and su to that user to
install bigtop. As long as it isn't a reserved user name used by the
scripts we are ok I think.
On Wed, May 9, 2012 at 8:31 PM, Roman Shaposhnik <rv...@apache.org> wrote:
> Hi!
>
> On Wed, May 9, 2012 at 1:24 PM, Doug Chang <do...@stanfordalumni.org>
> wrote:
> > The wiki on the bigtop pages says for the CENTOS version to download the
> > bigtop.repo file as root.
> >
> > Then I think we are supposed to create a separate user such as hadoop
> using
> >
> > ~]# adduser --system --shell /bin/bash --user-group --create-home hadoop
>
> No, no. That's done automatically by packages.
>
> > once the hadoop user is created we can: su hadoop, and install the
> hadoop
> > components b/c otherwise the instructions su yum install hadoop\* wouldnt
> > make sense....
>
> It should've been sudo, not su.
>
> > not sure if this is correct or not. Can update the wiki page with these
> > steps if this makes sense.
>
> sudo yum install hadoop\*
>
> should do the trick -- no manual user creation needed.
>
> Thanks,
> Roman.
>
Re: should we add the creation of a hadoop user to the install
instructions on the wiki page?
Posted by Roman Shaposhnik <rv...@apache.org>.
Hi!
On Wed, May 9, 2012 at 1:24 PM, Doug Chang <do...@stanfordalumni.org> wrote:
> The wiki on the bigtop pages says for the CENTOS version to download the
> bigtop.repo file as root.
>
> Then I think we are supposed to create a separate user such as hadoop using
>
> ~]# adduser --system --shell /bin/bash --user-group --create-home hadoop
No, no. That's done automatically by packages.
> once the hadoop user is created we can: su hadoop, and install the hadoop
> components b/c otherwise the instructions su yum install hadoop\* wouldnt
> make sense....
It should've been sudo, not su.
> not sure if this is correct or not. Can update the wiki page with these
> steps if this makes sense.
sudo yum install hadoop\*
should do the trick -- no manual user creation needed.
Thanks,
Roman.