You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by "Kartashov, Andy" <An...@mpac.ca> on 2012/11/06 20:25:49 UTC

starting Daemons remotely, through ssh

Hadoopers,

How does one start Daemons remotely when scripts normally require root user to start them? Do you modify scripts?

Thanks,
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I'm guessing most just use a sudo-access granted over their own username.

On Wed, Nov 7, 2012 at 12:55 AM, Kartashov, Andy <An...@mpac.ca> wrote:
> Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root user
> to start them? Do you modify scripts?
>
>
>
> Thanks,
>
> NOTICE: This e-mail message and any attachments are confidential, subject to
> copyright and may be privileged. Any unauthorized use, copying or disclosure
> is prohibited. If you are not the intended recipient, please delete and
> contact the sender immediately. Please consider the environment before
> printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui
> l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent
> être couverts par le secret professionnel. Toute utilisation, copie ou
> divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire
> prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur.
> Veuillez penser à l'environnement avant d'imprimer le présent courriel



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I'm guessing most just use a sudo-access granted over their own username.

On Wed, Nov 7, 2012 at 12:55 AM, Kartashov, Andy <An...@mpac.ca> wrote:
> Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root user
> to start them? Do you modify scripts?
>
>
>
> Thanks,
>
> NOTICE: This e-mail message and any attachments are confidential, subject to
> copyright and may be privileged. Any unauthorized use, copying or disclosure
> is prohibited. If you are not the intended recipient, please delete and
> contact the sender immediately. Please consider the environment before
> printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui
> l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent
> être couverts par le secret professionnel. Toute utilisation, copie ou
> divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire
> prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur.
> Veuillez penser à l'environnement avant d'imprimer le présent courriel



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I think he meant the init.d/service scripts installed by packages,
such as the ones from Bigtop.

On Wed, Nov 7, 2012 at 1:01 AM, Ravi Mutyala <ra...@hortonworks.com> wrote:
> Andy,
>
> Which specific scripts are these? As far as I know, all daemons on the
> hadoop side can be started with hadoop/hdfs or any non-sudo username. You
> will require passwordless ssh for that user if you are using
> slaves/regionservers configured to start the daemons remotely from the
> NameNode/HBase Master.
>
>
>
> On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>
> wrote:
>>
>> Hadoopers,
>>
>>
>>
>> How does one start Daemons remotely when scripts normally require root
>> user to start them? Do you modify scripts?
>>
>>
>>
>> Thanks,
>>
>> NOTICE: This e-mail message and any attachments are confidential, subject
>> to copyright and may be privileged. Any unauthorized use, copying or
>> disclosure is prohibited. If you are not the intended recipient, please
>> delete and contact the sender immediately. Please consider the environment
>> before printing this e-mail. AVIS : le présent courriel et toute pièce
>> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
>> et peuvent être couverts par le secret professionnel. Toute utilisation,
>> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
>> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
>> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
>> courriel
>
>



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I think he meant the init.d/service scripts installed by packages,
such as the ones from Bigtop.

On Wed, Nov 7, 2012 at 1:01 AM, Ravi Mutyala <ra...@hortonworks.com> wrote:
> Andy,
>
> Which specific scripts are these? As far as I know, all daemons on the
> hadoop side can be started with hadoop/hdfs or any non-sudo username. You
> will require passwordless ssh for that user if you are using
> slaves/regionservers configured to start the daemons remotely from the
> NameNode/HBase Master.
>
>
>
> On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>
> wrote:
>>
>> Hadoopers,
>>
>>
>>
>> How does one start Daemons remotely when scripts normally require root
>> user to start them? Do you modify scripts?
>>
>>
>>
>> Thanks,
>>
>> NOTICE: This e-mail message and any attachments are confidential, subject
>> to copyright and may be privileged. Any unauthorized use, copying or
>> disclosure is prohibited. If you are not the intended recipient, please
>> delete and contact the sender immediately. Please consider the environment
>> before printing this e-mail. AVIS : le présent courriel et toute pièce
>> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
>> et peuvent être couverts par le secret professionnel. Toute utilisation,
>> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
>> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
>> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
>> courriel
>
>



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I think he meant the init.d/service scripts installed by packages,
such as the ones from Bigtop.

On Wed, Nov 7, 2012 at 1:01 AM, Ravi Mutyala <ra...@hortonworks.com> wrote:
> Andy,
>
> Which specific scripts are these? As far as I know, all daemons on the
> hadoop side can be started with hadoop/hdfs or any non-sudo username. You
> will require passwordless ssh for that user if you are using
> slaves/regionservers configured to start the daemons remotely from the
> NameNode/HBase Master.
>
>
>
> On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>
> wrote:
>>
>> Hadoopers,
>>
>>
>>
>> How does one start Daemons remotely when scripts normally require root
>> user to start them? Do you modify scripts?
>>
>>
>>
>> Thanks,
>>
>> NOTICE: This e-mail message and any attachments are confidential, subject
>> to copyright and may be privileged. Any unauthorized use, copying or
>> disclosure is prohibited. If you are not the intended recipient, please
>> delete and contact the sender immediately. Please consider the environment
>> before printing this e-mail. AVIS : le présent courriel et toute pièce
>> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
>> et peuvent être couverts par le secret professionnel. Toute utilisation,
>> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
>> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
>> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
>> courriel
>
>



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I think he meant the init.d/service scripts installed by packages,
such as the ones from Bigtop.

On Wed, Nov 7, 2012 at 1:01 AM, Ravi Mutyala <ra...@hortonworks.com> wrote:
> Andy,
>
> Which specific scripts are these? As far as I know, all daemons on the
> hadoop side can be started with hadoop/hdfs or any non-sudo username. You
> will require passwordless ssh for that user if you are using
> slaves/regionservers configured to start the daemons remotely from the
> NameNode/HBase Master.
>
>
>
> On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>
> wrote:
>>
>> Hadoopers,
>>
>>
>>
>> How does one start Daemons remotely when scripts normally require root
>> user to start them? Do you modify scripts?
>>
>>
>>
>> Thanks,
>>
>> NOTICE: This e-mail message and any attachments are confidential, subject
>> to copyright and may be privileged. Any unauthorized use, copying or
>> disclosure is prohibited. If you are not the intended recipient, please
>> delete and contact the sender immediately. Please consider the environment
>> before printing this e-mail. AVIS : le présent courriel et toute pièce
>> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
>> et peuvent être couverts par le secret professionnel. Toute utilisation,
>> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
>> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
>> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
>> courriel
>
>



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Ravi Mutyala <ra...@hortonworks.com>.
Andy,

Which specific scripts are these? As far as I know, all daemons on the
hadoop side can be started with hadoop/hdfs or any non-sudo username. You
will require passwordless ssh for that user if you are using
slaves/regionservers configured to start the daemons remotely from the
NameNode/HBase Master.



On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>wrote:

>  Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root
> user to start them? Do you modify scripts?
>
>
>
> Thanks,
>  NOTICE: This e-mail message and any attachments are confidential, subject
> to copyright and may be privileged. Any unauthorized use, copying or
> disclosure is prohibited. If you are not the intended recipient, please
> delete and contact the sender immediately. Please consider the environment
> before printing this e-mail. AVIS : le présent courriel et toute pièce
> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
> et peuvent être couverts par le secret professionnel. Toute utilisation,
> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
> courriel
>

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I'm guessing most just use a sudo-access granted over their own username.

On Wed, Nov 7, 2012 at 12:55 AM, Kartashov, Andy <An...@mpac.ca> wrote:
> Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root user
> to start them? Do you modify scripts?
>
>
>
> Thanks,
>
> NOTICE: This e-mail message and any attachments are confidential, subject to
> copyright and may be privileged. Any unauthorized use, copying or disclosure
> is prohibited. If you are not the intended recipient, please delete and
> contact the sender immediately. Please consider the environment before
> printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui
> l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent
> être couverts par le secret professionnel. Toute utilisation, copie ou
> divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire
> prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur.
> Veuillez penser à l'environnement avant d'imprimer le présent courriel



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Harsh J <ha...@cloudera.com>.
I'm guessing most just use a sudo-access granted over their own username.

On Wed, Nov 7, 2012 at 12:55 AM, Kartashov, Andy <An...@mpac.ca> wrote:
> Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root user
> to start them? Do you modify scripts?
>
>
>
> Thanks,
>
> NOTICE: This e-mail message and any attachments are confidential, subject to
> copyright and may be privileged. Any unauthorized use, copying or disclosure
> is prohibited. If you are not the intended recipient, please delete and
> contact the sender immediately. Please consider the environment before
> printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui
> l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent
> être couverts par le secret professionnel. Toute utilisation, copie ou
> divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire
> prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur.
> Veuillez penser à l'environnement avant d'imprimer le présent courriel



-- 
Harsh J

Re: starting Daemons remotely, through ssh

Posted by Ravi Mutyala <ra...@hortonworks.com>.
Andy,

Which specific scripts are these? As far as I know, all daemons on the
hadoop side can be started with hadoop/hdfs or any non-sudo username. You
will require passwordless ssh for that user if you are using
slaves/regionservers configured to start the daemons remotely from the
NameNode/HBase Master.



On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>wrote:

>  Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root
> user to start them? Do you modify scripts?
>
>
>
> Thanks,
>  NOTICE: This e-mail message and any attachments are confidential, subject
> to copyright and may be privileged. Any unauthorized use, copying or
> disclosure is prohibited. If you are not the intended recipient, please
> delete and contact the sender immediately. Please consider the environment
> before printing this e-mail. AVIS : le présent courriel et toute pièce
> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
> et peuvent être couverts par le secret professionnel. Toute utilisation,
> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
> courriel
>

Re: starting Daemons remotely, through ssh

Posted by Ravi Mutyala <ra...@hortonworks.com>.
Andy,

Which specific scripts are these? As far as I know, all daemons on the
hadoop side can be started with hadoop/hdfs or any non-sudo username. You
will require passwordless ssh for that user if you are using
slaves/regionservers configured to start the daemons remotely from the
NameNode/HBase Master.



On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>wrote:

>  Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root
> user to start them? Do you modify scripts?
>
>
>
> Thanks,
>  NOTICE: This e-mail message and any attachments are confidential, subject
> to copyright and may be privileged. Any unauthorized use, copying or
> disclosure is prohibited. If you are not the intended recipient, please
> delete and contact the sender immediately. Please consider the environment
> before printing this e-mail. AVIS : le présent courriel et toute pièce
> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
> et peuvent être couverts par le secret professionnel. Toute utilisation,
> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
> courriel
>

Re: starting Daemons remotely, through ssh

Posted by Ravi Mutyala <ra...@hortonworks.com>.
Andy,

Which specific scripts are these? As far as I know, all daemons on the
hadoop side can be started with hadoop/hdfs or any non-sudo username. You
will require passwordless ssh for that user if you are using
slaves/regionservers configured to start the daemons remotely from the
NameNode/HBase Master.



On Tue, Nov 6, 2012 at 1:25 PM, Kartashov, Andy <An...@mpac.ca>wrote:

>  Hadoopers,
>
>
>
> How does one start Daemons remotely when scripts normally require root
> user to start them? Do you modify scripts?
>
>
>
> Thanks,
>  NOTICE: This e-mail message and any attachments are confidential, subject
> to copyright and may be privileged. Any unauthorized use, copying or
> disclosure is prohibited. If you are not the intended recipient, please
> delete and contact the sender immediately. Please consider the environment
> before printing this e-mail. AVIS : le présent courriel et toute pièce
> jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur
> et peuvent être couverts par le secret professionnel. Toute utilisation,
> copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le
> destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
> l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent
> courriel
>