|
|
Serge Blazhievsky 2013-02-26, 23:29
Hi all,
Is there a way to restrict job monitoring and management only to jobs started by each individual user? The basic scenario is:
1. Start a job under user1 2. Login as user2 3. hadoop job -list to retrieve job id 4. hadoop job -kill job_id 5. Job gets terminated....
Is there something that needs to be enabled to prevent that from happening?
Thanks Serge
+
Serge Blazhievsky 2013-02-26, 23:29
-
Re: JobTracker security
Patai Sangbutsarakum 2013-02-26, 23:31
Kerberos
From: Serge Blazhievsky <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> Reply-To: <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> Date: Tue, 26 Feb 2013 15:29:08 -0800 To: <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> Subject: JobTracker security
Hi all,
Is there a way to restrict job monitoring and management only to jobs started by each individual user? The basic scenario is:
1. Start a job under user1 2. Login as user2 3. hadoop job -list to retrieve job id 4. hadoop job -kill job_id 5. Job gets terminated....
Is there something that needs to be enabled to prevent that from happening?
Thanks Serge
+
Patai Sangbutsarakum 2013-02-26, 23:31
-
Re: JobTracker security
Serge Blazhievsky 2013-02-26, 23:34
I am trying to not to use kerberos...
Is there other option?
Thanks Serge
On Tue, Feb 26, 2013 at 3:31 PM, Patai Sangbutsarakum < [EMAIL PROTECTED]> wrote:
> Kerberos > > From: Serge Blazhievsky <[EMAIL PROTECTED]> > Reply-To: <[EMAIL PROTECTED]> > Date: Tue, 26 Feb 2013 15:29:08 -0800 > To: <[EMAIL PROTECTED]> > Subject: JobTracker security > > Hi all, > > Is there a way to restrict job monitoring and management only to jobs > started by each individual user? > > > The basic scenario is: > > 1. Start a job under user1 > 2. Login as user2 > 3. hadoop job -list to retrieve job id > 4. hadoop job -kill job_id > 5. Job gets terminated.... > > Is there something that needs to be enabled to prevent that from > happening? > > Thanks > Serge >
+
Serge Blazhievsky 2013-02-26, 23:34
-
Re: JobTracker security
Jean-Marc Spaggiari 2013-02-27, 00:38
Maybe restrict access to the hadoop file(s) to the user1?
2013/2/26 Serge Blazhievsky <[EMAIL PROTECTED]>: > I am trying to not to use kerberos... > > Is there other option? > > Thanks > Serge > > > On Tue, Feb 26, 2013 at 3:31 PM, Patai Sangbutsarakum > <[EMAIL PROTECTED]> wrote: >> >> Kerberos >> >> From: Serge Blazhievsky <[EMAIL PROTECTED]> >> Reply-To: <[EMAIL PROTECTED]> >> Date: Tue, 26 Feb 2013 15:29:08 -0800 >> To: <[EMAIL PROTECTED]> >> Subject: JobTracker security >> >> Hi all, >> >> Is there a way to restrict job monitoring and management only to jobs >> started by each individual user? >> >> >> The basic scenario is: >> >> 1. Start a job under user1 >> 2. Login as user2 >> 3. hadoop job -list to retrieve job id >> 4. hadoop job -kill job_id >> 5. Job gets terminated.... >> >> Is there something that needs to be enabled to prevent that from >> happening? >> >> Thanks >> Serge > >
+
Jean-Marc Spaggiari 2013-02-27, 00:38
-
Re: JobTracker security
Serge Blazhievsky 2013-02-27, 00:43
hi Jean,
Do you mean input files for hadoop ? or hadoop directory?
Serge
On Tue, Feb 26, 2013 at 4:38 PM, Jean-Marc Spaggiari < [EMAIL PROTECTED]> wrote:
> Maybe restrict access to the hadoop file(s) to the user1? > > 2013/2/26 Serge Blazhievsky <[EMAIL PROTECTED]>: > > I am trying to not to use kerberos... > > > > Is there other option? > > > > Thanks > > Serge > > > > > > On Tue, Feb 26, 2013 at 3:31 PM, Patai Sangbutsarakum > > <[EMAIL PROTECTED]> wrote: > >> > >> Kerberos > >> > >> From: Serge Blazhievsky <[EMAIL PROTECTED]> > >> Reply-To: <[EMAIL PROTECTED]> > >> Date: Tue, 26 Feb 2013 15:29:08 -0800 > >> To: <[EMAIL PROTECTED]> > >> Subject: JobTracker security > >> > >> Hi all, > >> > >> Is there a way to restrict job monitoring and management only to jobs > >> started by each individual user? > >> > >> > >> The basic scenario is: > >> > >> 1. Start a job under user1 > >> 2. Login as user2 > >> 3. hadoop job -list to retrieve job id > >> 4. hadoop job -kill job_id > >> 5. Job gets terminated.... > >> > >> Is there something that needs to be enabled to prevent that from > >> happening? > >> > >> Thanks > >> Serge > > > > >
+
Serge Blazhievsky 2013-02-27, 00:43
-
Re: JobTracker security
Serge Blazhievsky 2013-02-27, 01:22
All right!
Thanks for advice! Serge
On Tue, Feb 26, 2013 at 4:57 PM, Jean-Marc Spaggiari < [EMAIL PROTECTED]> wrote:
> I mean the executable files. Or even the entire hadoop directory? > People might still be able to install a local copy of hadoop and > configure it to point to the same trackers, and then do the kill, but > at least that will complicate the things a bit? > > If user1 and user2 are on different groups also, that might allow you > to block some user2 actions against user1 processes? Also, you should > take look to the "Security" chapter in "Hadoop: The Definitive Guide" > and to the hadoop-policy.xml file (I never looked at this file, so > maybe it's not at all related). > > 2013/2/26 Serge Blazhievsky <[EMAIL PROTECTED]>: > > hi Jean, > > > > Do you mean input files for hadoop ? or hadoop directory? > > > > Serge > > > > > > On Tue, Feb 26, 2013 at 4:38 PM, Jean-Marc Spaggiari > > <[EMAIL PROTECTED]> wrote: > >> > >> Maybe restrict access to the hadoop file(s) to the user1? > >> > >> 2013/2/26 Serge Blazhievsky <[EMAIL PROTECTED]>: > >> > I am trying to not to use kerberos... > >> > > >> > Is there other option? > >> > > >> > Thanks > >> > Serge > >> > > >> > > >> > On Tue, Feb 26, 2013 at 3:31 PM, Patai Sangbutsarakum > >> > <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Kerberos > >> >> > >> >> From: Serge Blazhievsky <[EMAIL PROTECTED]> > >> >> Reply-To: <[EMAIL PROTECTED]> > >> >> Date: Tue, 26 Feb 2013 15:29:08 -0800 > >> >> To: <[EMAIL PROTECTED]> > >> >> Subject: JobTracker security > >> >> > >> >> Hi all, > >> >> > >> >> Is there a way to restrict job monitoring and management only to jobs > >> >> started by each individual user? > >> >> > >> >> > >> >> The basic scenario is: > >> >> > >> >> 1. Start a job under user1 > >> >> 2. Login as user2 > >> >> 3. hadoop job -list to retrieve job id > >> >> 4. hadoop job -kill job_id > >> >> 5. Job gets terminated.... > >> >> > >> >> Is there something that needs to be enabled to prevent that from > >> >> happening? > >> >> > >> >> Thanks > >> >> Serge > >> > > >> > > > > > >
+
Serge Blazhievsky 2013-02-27, 01:22
|
|