Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Vincent
Thanks Max. I'll try to submit a patch. -- Original -- From: "Weijun Wang"; Date: Tue, Dec 25, 2018 04:47 PM To: "Vincent"; Cc: "[email protected]"; Subject: Re: java.lang.Error is swallowed by LoginC

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Weijun Wang
Tue, Dec 25, 2018 03:44 PM > To: "Vincent"; > Cc: "[email protected]"; > Subject: Re: java.lang.Error is swallowed by LoginContext#invoke > > I see. > > I am not sure we can fail here because historically we don't differentiate

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Vincent
of the scope of this mail group. -- Original -- From: "Weijun Wang"; Date: Tue, Dec 25, 2018 03:44 PM To: "Vincent"; Cc: "[email protected]"; Subject: Re: java.lang.Error is swallowed by LoginContext#invoke I

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-24 Thread Weijun Wang
code. > > > -- Original ---------- > From: "Weijun Wang"; > Date: Tue, Dec 11, 2018 05:55 PM > To: "Vincent"; > Cc: "[email protected]"; > Subject: Re: java.lang.Error is swallowed by LoginContext#invoke

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-24 Thread Vincent
From: "Weijun Wang"; Date: Tue, Dec 11, 2018 05:55 PM To: "Vincent"; Cc: "[email protected]"; Subject: Re: java.lang.Error is swallowed by LoginContext#invoke Does -Djava.security.debug=logincontext show anything? This is the formal way to debug J

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-11 Thread Weijun Wang
Does -Djava.security.debug=logincontext show anything? This is the formal way to debug JAAS. Also, you can put debug=true in your Krb5LoginModule config entry and see what's happening, and there is always -Dsun.security.krb5.debug=true to show kerberos related debug info. --Max > On Dec 11, 2

java.lang.Error is swallowed by LoginContext#invoke

2018-12-11 Thread Wenxiang
Hi everyone, I was using Hadoop command line interface to access HDFS with a non-root user. After successfully running kinit, Hadoop FsShell fails with GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt). After using a subclassed Krb5LoginModule to pr