Keep Kerberos credentials valid after logging out

2013-05-21 Thread zheyi rong
Hi all, I would like to run my hadoop job in a bash file for several times, e.g. #!/usr/bin/env bash for i in {1..10} do my-hadoop-job done Since I don't want to keep my laptop on for hours, I run this bash script on a server via a SSH session. However, the bash script always ter

Re: Keep Kerberos credentials valid after logging out

2013-05-21 Thread Azuryy Yu
nohup ./your_bash 1>temp.log 2>&1 & --Send from my Sony mobile. On May 21, 2013 6:32 PM, "zheyi rong" wrote: > Hi all, > > I would like to run my hadoop job in a bash file for several times, e.g. > #!/usr/bin/env bash > for i in {1..10} > do > my-hadoop-job > done > > Since I d

Re: Keep Kerberos credentials valid after logging out

2013-05-21 Thread Rahul Bhattacharjee
I think you can have a keytab file for the user and use that for authentication. It would renew the credentials when it expires. On Tue, May 21, 2013 at 4:01 PM, zheyi rong wrote: > Hi all, > > I would like to run my hadoop job in a bash file for several times, e.g. > #!/usr/bin/env bash > for

Re: Keep Kerberos credentials valid after logging out

2013-05-21 Thread zheyi rong
Thanks for answering. but the same exceptions appeared: 13/05/21 19:07:01 ERROR security.UserGroupInformation: PriviledgedActionException as:s117449 (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level

Re: Keep Kerberos credentials valid after logging out

2013-05-21 Thread zheyi rong
could you please give me a bit more details? I am really not good at kerberoes. Thanks. Regards, Zheyi Rong On Tue, May 21, 2013 at 3:34 PM, Rahul Bhattacharjee < rahul.rec@gmail.com> wrote: > I think you can have a keytab file for the user and use that for > authentication. It would renew