JobTracker icon indicating copy to clipboard operation
JobTracker copied to clipboard

Doesn't work on secure clusters

Open timrcase opened this issue 12 years ago • 7 comments

This doesn't work on a secure cluster. I'm assuming this is by design since there is nowhere to enter credentials in order to access the JobTracker.

timrcase avatar May 10 '13 16:05 timrcase

Yeah, I wrote this originally for our internal cluster at Etsy, which is behind a VPN and has no additional authentication. How is the authentication done in a secure cluster? I could make an attempt at adding it, although I'd be flying blind.

bgreenlee avatar May 10 '13 16:05 bgreenlee

A cluster running in secure mode uses Kerberos, but I'm 99% sure that it is handled on the web server as part of the user's session so you would just need to authenticate the user to the server.

timrcase avatar May 10 '13 20:05 timrcase

Does it work if you put it in the JobTracker URL? e.g. http://:@some.com/.... I know that's not ideal, but that will at least tell me if it's just Basic Auth.

bgreenlee avatar May 10 '13 21:05 bgreenlee

Unfortunately, that didn't work. Based on the redirects I'm seeing it looks like we might be proxying JT with Hue. I don't think this is going to be easy, but it could also be because of our environment.

timrcase avatar May 10 '13 22:05 timrcase

Well, if you can provide me code (in any language) that successfully grabs the JobTracker HTML in your environment, I can probably implement it.

bgreenlee avatar May 10 '13 22:05 bgreenlee

I'll see what I can do. Do you have a preference of language?

timrcase avatar May 11 '13 17:05 timrcase

No preference. Just not brainf*ck, please. :)

bgreenlee avatar May 12 '13 04:05 bgreenlee