You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Raj Hadoop <ha...@yahoo.com> on 2013/05/13 16:42:58 UTC

Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Hi,
 
I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
 
Thanks,
Raj

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Amal G Jose <am...@gmail.com>.
CDH is also available as tarball. So if you are planning to do tarball
installation. No root privilege is required. You can install it completely
including java. But make sure that the necessary ports in the machine are
open.
If you are planning to do a package installation, you need root privileges.
But these root permission are just for installation only.


On Mon, May 13, 2013 at 10:04 PM, Harsh J <ha...@cloudera.com> wrote:

> Raj,
>
> Apache Hadoop by itself does not require root privileges to run
> (assuming a non-secure setup). You can run it out of a tarball from a
> home directory you have on the server machines.
>
> However, many prefer using packages, such as those from Apache
> Bigtop/etc., to install Hadoop and use it. This facilitates easier
> upgrades and is closer to the regular management/administration of an
> OS. Installing packages in an OS requires root-level permissions due
> to the kind of paths it touches. Root isn't a user that will run the
> services in the end, however.
>
> The only real reason you need root to actually run the cluster is when
> you set it up for security and you'd need to start the DN over
> reserved ports. In this case, we need the DN to start as root, but
> post-port-bind we switch back down to the actual user.
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One
> > Machine ).  Do I require 'root' privileges for install ? Please advise.
> >
> > Thanks,
> > Raj
>
>
>
> --
> Harsh J
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Amal G Jose <am...@gmail.com>.
CDH is also available as tarball. So if you are planning to do tarball
installation. No root privilege is required. You can install it completely
including java. But make sure that the necessary ports in the machine are
open.
If you are planning to do a package installation, you need root privileges.
But these root permission are just for installation only.


On Mon, May 13, 2013 at 10:04 PM, Harsh J <ha...@cloudera.com> wrote:

> Raj,
>
> Apache Hadoop by itself does not require root privileges to run
> (assuming a non-secure setup). You can run it out of a tarball from a
> home directory you have on the server machines.
>
> However, many prefer using packages, such as those from Apache
> Bigtop/etc., to install Hadoop and use it. This facilitates easier
> upgrades and is closer to the regular management/administration of an
> OS. Installing packages in an OS requires root-level permissions due
> to the kind of paths it touches. Root isn't a user that will run the
> services in the end, however.
>
> The only real reason you need root to actually run the cluster is when
> you set it up for security and you'd need to start the DN over
> reserved ports. In this case, we need the DN to start as root, but
> post-port-bind we switch back down to the actual user.
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One
> > Machine ).  Do I require 'root' privileges for install ? Please advise.
> >
> > Thanks,
> > Raj
>
>
>
> --
> Harsh J
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Amal G Jose <am...@gmail.com>.
CDH is also available as tarball. So if you are planning to do tarball
installation. No root privilege is required. You can install it completely
including java. But make sure that the necessary ports in the machine are
open.
If you are planning to do a package installation, you need root privileges.
But these root permission are just for installation only.


On Mon, May 13, 2013 at 10:04 PM, Harsh J <ha...@cloudera.com> wrote:

> Raj,
>
> Apache Hadoop by itself does not require root privileges to run
> (assuming a non-secure setup). You can run it out of a tarball from a
> home directory you have on the server machines.
>
> However, many prefer using packages, such as those from Apache
> Bigtop/etc., to install Hadoop and use it. This facilitates easier
> upgrades and is closer to the regular management/administration of an
> OS. Installing packages in an OS requires root-level permissions due
> to the kind of paths it touches. Root isn't a user that will run the
> services in the end, however.
>
> The only real reason you need root to actually run the cluster is when
> you set it up for security and you'd need to start the DN over
> reserved ports. In this case, we need the DN to start as root, but
> post-port-bind we switch back down to the actual user.
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One
> > Machine ).  Do I require 'root' privileges for install ? Please advise.
> >
> > Thanks,
> > Raj
>
>
>
> --
> Harsh J
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Amal G Jose <am...@gmail.com>.
CDH is also available as tarball. So if you are planning to do tarball
installation. No root privilege is required. You can install it completely
including java. But make sure that the necessary ports in the machine are
open.
If you are planning to do a package installation, you need root privileges.
But these root permission are just for installation only.


On Mon, May 13, 2013 at 10:04 PM, Harsh J <ha...@cloudera.com> wrote:

> Raj,
>
> Apache Hadoop by itself does not require root privileges to run
> (assuming a non-secure setup). You can run it out of a tarball from a
> home directory you have on the server machines.
>
> However, many prefer using packages, such as those from Apache
> Bigtop/etc., to install Hadoop and use it. This facilitates easier
> upgrades and is closer to the regular management/administration of an
> OS. Installing packages in an OS requires root-level permissions due
> to the kind of paths it touches. Root isn't a user that will run the
> services in the end, however.
>
> The only real reason you need root to actually run the cluster is when
> you set it up for security and you'd need to start the DN over
> reserved ports. In this case, we need the DN to start as root, but
> post-port-bind we switch back down to the actual user.
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One
> > Machine ).  Do I require 'root' privileges for install ? Please advise.
> >
> > Thanks,
> > Raj
>
>
>
> --
> Harsh J
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Harsh J <ha...@cloudera.com>.
Raj,

Apache Hadoop by itself does not require root privileges to run
(assuming a non-secure setup). You can run it out of a tarball from a
home directory you have on the server machines.

However, many prefer using packages, such as those from Apache
Bigtop/etc., to install Hadoop and use it. This facilitates easier
upgrades and is closer to the regular management/administration of an
OS. Installing packages in an OS requires root-level permissions due
to the kind of paths it touches. Root isn't a user that will run the
services in the end, however.

The only real reason you need root to actually run the cluster is when
you set it up for security and you'd need to start the DN over
reserved ports. In this case, we need the DN to start as root, but
post-port-bind we switch back down to the actual user.

On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One
> Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj



-- 
Harsh J

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by shashwat shriparv <dw...@gmail.com>.
If you are installing CDH version of hadoop tell your admi that you need
root access as yoiu need to install RPM :)

*Thanks & Regards    *

∞
Shashwat Shriparv

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by shashwat shriparv <dw...@gmail.com>.
If you are installing CDH version of hadoop tell your admi that you need
root access as yoiu need to install RPM :)

*Thanks & Regards    *

∞
Shashwat Shriparv

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by shashwat shriparv <dw...@gmail.com>.
If you are installing CDH version of hadoop tell your admi that you need
root access as yoiu need to install RPM :)

*Thanks & Regards    *

∞
Shashwat Shriparv

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by shashwat shriparv <dw...@gmail.com>.
If you are installing CDH version of hadoop tell your admi that you need
root access as yoiu need to install RPM :)

*Thanks & Regards    *

∞
Shashwat Shriparv

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
So for CDH, while installing - how do i request my Unix admin ? Any tips.
 
I am requesting a separate user on Linux box. So how do that user ( what kind of privileges ) are required for the new user? and do these new user need to have some kind of temporary root access. How does this work between a person who is installing Hadoop and the actual unix admin guy. Please advise.


________________________________
From: Nitin Pawar <ni...@gmail.com>
To: user@hadoop.apache.org; Raj Hadoop <ha...@yahoo.com> 
Cc: Mohammad Tariq <do...@gmail.com> 
Sent: Monday, May 13, 2013 10:56 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



if you want to install CDH, then you will need root access as it needs to install RPMs  

for apache downloads, its not needed 



On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?
>
>
>
>From: Mohammad Tariq <do...@gmail.com>
>To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
>Sent: Monday, May 13, 2013 10:47 AM
>Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?
>
>
>
>Hello Raj, 
>
>
>     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.
>
>
>Warm Regards, 
>Tariq
>cloudfront.blogspot.com
>
>
>
>On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>Hi,
>>
>>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>>
>>Thanks,
>>Raj
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
So for CDH, while installing - how do i request my Unix admin ? Any tips.
 
I am requesting a separate user on Linux box. So how do that user ( what kind of privileges ) are required for the new user? and do these new user need to have some kind of temporary root access. How does this work between a person who is installing Hadoop and the actual unix admin guy. Please advise.


________________________________
From: Nitin Pawar <ni...@gmail.com>
To: user@hadoop.apache.org; Raj Hadoop <ha...@yahoo.com> 
Cc: Mohammad Tariq <do...@gmail.com> 
Sent: Monday, May 13, 2013 10:56 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



if you want to install CDH, then you will need root access as it needs to install RPMs  

for apache downloads, its not needed 



On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?
>
>
>
>From: Mohammad Tariq <do...@gmail.com>
>To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
>Sent: Monday, May 13, 2013 10:47 AM
>Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?
>
>
>
>Hello Raj, 
>
>
>     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.
>
>
>Warm Regards, 
>Tariq
>cloudfront.blogspot.com
>
>
>
>On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>Hi,
>>
>>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>>
>>Thanks,
>>Raj
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
So for CDH, while installing - how do i request my Unix admin ? Any tips.
 
I am requesting a separate user on Linux box. So how do that user ( what kind of privileges ) are required for the new user? and do these new user need to have some kind of temporary root access. How does this work between a person who is installing Hadoop and the actual unix admin guy. Please advise.


________________________________
From: Nitin Pawar <ni...@gmail.com>
To: user@hadoop.apache.org; Raj Hadoop <ha...@yahoo.com> 
Cc: Mohammad Tariq <do...@gmail.com> 
Sent: Monday, May 13, 2013 10:56 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



if you want to install CDH, then you will need root access as it needs to install RPMs  

for apache downloads, its not needed 



On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?
>
>
>
>From: Mohammad Tariq <do...@gmail.com>
>To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
>Sent: Monday, May 13, 2013 10:47 AM
>Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?
>
>
>
>Hello Raj, 
>
>
>     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.
>
>
>Warm Regards, 
>Tariq
>cloudfront.blogspot.com
>
>
>
>On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>Hi,
>>
>>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>>
>>Thanks,
>>Raj
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
So for CDH, while installing - how do i request my Unix admin ? Any tips.
 
I am requesting a separate user on Linux box. So how do that user ( what kind of privileges ) are required for the new user? and do these new user need to have some kind of temporary root access. How does this work between a person who is installing Hadoop and the actual unix admin guy. Please advise.


________________________________
From: Nitin Pawar <ni...@gmail.com>
To: user@hadoop.apache.org; Raj Hadoop <ha...@yahoo.com> 
Cc: Mohammad Tariq <do...@gmail.com> 
Sent: Monday, May 13, 2013 10:56 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



if you want to install CDH, then you will need root access as it needs to install RPMs  

for apache downloads, its not needed 



On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?
>
>
>
>From: Mohammad Tariq <do...@gmail.com>
>To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
>Sent: Monday, May 13, 2013 10:47 AM
>Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?
>
>
>
>Hello Raj, 
>
>
>     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.
>
>
>Warm Regards, 
>Tariq
>cloudfront.blogspot.com
>
>
>
>On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>Hi,
>>
>>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>>
>>Thanks,
>>Raj
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
if you want to install CDH, then you will need root access as it needs to
install RPMs

for apache downloads, its not needed


On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> I am thinking to install both CDH and Apache version. So are you saying if
> i install CDH - do i require root privielges?
>
>   *From:* Mohammad Tariq <do...@gmail.com>
> *To:* "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <
> hadoopraj@yahoo.com>
> *Sent:* Monday, May 13, 2013 10:47 AM
> *Subject:* Re: Install Hadoop on Linux Pseudo Distributed Mode - Root
> Required?
>
>  Hello Raj,
>
>      Install in what sense?Are you planning to use Apache's package?If
> that is the case you just have to download and unzip it. And you don't need
> root privilege for that.Or something else like CDH?I'm sorry, I didn't
> quite get the question.
>
>  Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>  Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>
>
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
if you want to install CDH, then you will need root access as it needs to
install RPMs

for apache downloads, its not needed


On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> I am thinking to install both CDH and Apache version. So are you saying if
> i install CDH - do i require root privielges?
>
>   *From:* Mohammad Tariq <do...@gmail.com>
> *To:* "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <
> hadoopraj@yahoo.com>
> *Sent:* Monday, May 13, 2013 10:47 AM
> *Subject:* Re: Install Hadoop on Linux Pseudo Distributed Mode - Root
> Required?
>
>  Hello Raj,
>
>      Install in what sense?Are you planning to use Apache's package?If
> that is the case you just have to download and unzip it. And you don't need
> root privilege for that.Or something else like CDH?I'm sorry, I didn't
> quite get the question.
>
>  Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>  Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>
>
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
if you want to install CDH, then you will need root access as it needs to
install RPMs

for apache downloads, its not needed


On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> I am thinking to install both CDH and Apache version. So are you saying if
> i install CDH - do i require root privielges?
>
>   *From:* Mohammad Tariq <do...@gmail.com>
> *To:* "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <
> hadoopraj@yahoo.com>
> *Sent:* Monday, May 13, 2013 10:47 AM
> *Subject:* Re: Install Hadoop on Linux Pseudo Distributed Mode - Root
> Required?
>
>  Hello Raj,
>
>      Install in what sense?Are you planning to use Apache's package?If
> that is the case you just have to download and unzip it. And you don't need
> root privilege for that.Or something else like CDH?I'm sorry, I didn't
> quite get the question.
>
>  Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>  Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>
>
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
if you want to install CDH, then you will need root access as it needs to
install RPMs

for apache downloads, its not needed


On Mon, May 13, 2013 at 8:25 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> I am thinking to install both CDH and Apache version. So are you saying if
> i install CDH - do i require root privielges?
>
>   *From:* Mohammad Tariq <do...@gmail.com>
> *To:* "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <
> hadoopraj@yahoo.com>
> *Sent:* Monday, May 13, 2013 10:47 AM
> *Subject:* Re: Install Hadoop on Linux Pseudo Distributed Mode - Root
> Required?
>
>  Hello Raj,
>
>      Install in what sense?Are you planning to use Apache's package?If
> that is the case you just have to download and unzip it. And you don't need
> root privilege for that.Or something else like CDH?I'm sorry, I didn't
> quite get the question.
>
>  Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>
>  Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>
>
>
>
>


-- 
Nitin Pawar

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?



________________________________
From: Mohammad Tariq <do...@gmail.com>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
Sent: Monday, May 13, 2013 10:47 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



Hello Raj, 

     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.


Warm Regards, 
Tariq
cloudfront.blogspot.com



On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

Hi,
>
>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
>Thanks,
>Raj

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?



________________________________
From: Mohammad Tariq <do...@gmail.com>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
Sent: Monday, May 13, 2013 10:47 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



Hello Raj, 

     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.


Warm Regards, 
Tariq
cloudfront.blogspot.com



On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

Hi,
>
>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
>Thanks,
>Raj

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?



________________________________
From: Mohammad Tariq <do...@gmail.com>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
Sent: Monday, May 13, 2013 10:47 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



Hello Raj, 

     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.


Warm Regards, 
Tariq
cloudfront.blogspot.com



On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

Hi,
>
>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
>Thanks,
>Raj

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Raj Hadoop <ha...@yahoo.com>.
I am thinking to install both CDH and Apache version. So are you saying if i install CDH - do i require root privielges?



________________________________
From: Mohammad Tariq <do...@gmail.com>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Raj Hadoop <ha...@yahoo.com> 
Sent: Monday, May 13, 2013 10:47 AM
Subject: Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?



Hello Raj, 

     Install in what sense?Are you planning to use Apache's package?If that is the case you just have to download and unzip it. And you don't need root privilege for that.Or something else like CDH?I'm sorry, I didn't quite get the question.


Warm Regards, 
Tariq
cloudfront.blogspot.com



On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

Hi,
>
>I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
>Thanks,
>Raj

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Raj,

     Install in what sense?Are you planning to use Apache's package?If that
is the case you just have to download and unzip it. And you don't need root
privilege for that.Or something else like CDH?I'm sorry, I didn't quite get
the question.

Warm Regards,
Tariq
cloudfront.blogspot.com


On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Raj,

     Install in what sense?Are you planning to use Apache's package?If that
is the case you just have to download and unzip it. And you don't need root
privilege for that.Or something else like CDH?I'm sorry, I didn't quite get
the question.

Warm Regards,
Tariq
cloudfront.blogspot.com


On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Raj,

     Install in what sense?Are you planning to use Apache's package?If that
is the case you just have to download and unzip it. And you don't need root
privilege for that.Or something else like CDH?I'm sorry, I didn't quite get
the question.

Warm Regards,
Tariq
cloudfront.blogspot.com


On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
You do not root if you want to install everything in your home directory
and assuming sun jdk is installed
On May 13, 2013 8:13 PM, "Raj Hadoop" <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Harsh J <ha...@cloudera.com>.
Raj,

Apache Hadoop by itself does not require root privileges to run
(assuming a non-secure setup). You can run it out of a tarball from a
home directory you have on the server machines.

However, many prefer using packages, such as those from Apache
Bigtop/etc., to install Hadoop and use it. This facilitates easier
upgrades and is closer to the regular management/administration of an
OS. Installing packages in an OS requires root-level permissions due
to the kind of paths it touches. Root isn't a user that will run the
services in the end, however.

The only real reason you need root to actually run the cluster is when
you set it up for security and you'd need to start the DN over
reserved ports. In this case, we need the DN to start as root, but
post-port-bind we switch back down to the actual user.

On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One
> Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj



-- 
Harsh J

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Harsh J <ha...@cloudera.com>.
Raj,

Apache Hadoop by itself does not require root privileges to run
(assuming a non-secure setup). You can run it out of a tarball from a
home directory you have on the server machines.

However, many prefer using packages, such as those from Apache
Bigtop/etc., to install Hadoop and use it. This facilitates easier
upgrades and is closer to the regular management/administration of an
OS. Installing packages in an OS requires root-level permissions due
to the kind of paths it touches. Root isn't a user that will run the
services in the end, however.

The only real reason you need root to actually run the cluster is when
you set it up for security and you'd need to start the DN over
reserved ports. In this case, we need the DN to start as root, but
post-port-bind we switch back down to the actual user.

On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One
> Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj



-- 
Harsh J

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
You do not root if you want to install everything in your home directory
and assuming sun jdk is installed
On May 13, 2013 8:13 PM, "Raj Hadoop" <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Harsh J <ha...@cloudera.com>.
Raj,

Apache Hadoop by itself does not require root privileges to run
(assuming a non-secure setup). You can run it out of a tarball from a
home directory you have on the server machines.

However, many prefer using packages, such as those from Apache
Bigtop/etc., to install Hadoop and use it. This facilitates easier
upgrades and is closer to the regular management/administration of an
OS. Installing packages in an OS requires root-level permissions due
to the kind of paths it touches. Root isn't a user that will run the
services in the end, however.

The only real reason you need root to actually run the cluster is when
you set it up for security and you'd need to start the DN over
reserved ports. In this case, we need the DN to start as root, but
post-port-bind we switch back down to the actual user.

On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode ( One
> Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj



-- 
Harsh J

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
You do not root if you want to install everything in your home directory
and assuming sun jdk is installed
On May 13, 2013 8:13 PM, "Raj Hadoop" <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Nitin Pawar <ni...@gmail.com>.
You do not root if you want to install everything in your home directory
and assuming sun jdk is installed
On May 13, 2013 8:13 PM, "Raj Hadoop" <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>

Re: Install Hadoop on Linux Pseudo Distributed Mode - Root Required?

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Raj,

     Install in what sense?Are you planning to use Apache's package?If that
is the case you just have to download and unzip it. And you don't need root
privilege for that.Or something else like CDH?I'm sorry, I didn't quite get
the question.

Warm Regards,
Tariq
cloudfront.blogspot.com


On Mon, May 13, 2013 at 8:12 PM, Raj Hadoop <ha...@yahoo.com> wrote:

> Hi,
>
> I am planning to install Hadoop on Linux in a Pseudo Distributed Mode (
> One Machine ).  Do I require 'root' privileges for install ? Please advise.
>
> Thanks,
> Raj
>