Yes, the thrift server is not able to renew its kerberos tickets and
needs to be restarted periodically. We are currently investigating
this on an isolated server.

regards,
Steen

On Wed, Jun 21, 2017 at 5:06 AM, Jerry He <jerry...@gmail.com> wrote:
> The right code can be hard to find and may not be even in the Thrift module.
>
> Did you encounter any problem, e.g. the Thrift server giving out errors due
> to expired Kerberos ticket?
>
> Thanks,
>
> Jerry
>
> On Tue, Jun 20, 2017 at 11:05 AM, Steen Manniche <boxun...@gmail.com> wrote:
>
>> Hi Ted,
>>
>> thanks for the feedback. I created HBASE-18243
>>
>> Best regards,
>> Steen
>>
>> On Tue, Jun 20, 2017 at 5:03 PM, Ted Yu <yuzhih...@gmail.com> wrote:
>> > I didn't find ticket renewal logic either.
>> >
>> > I think we can use facility similar to AuthUtil#getAuthChore().
>> >
>> > Mind logging a JIRA ?
>> >
>> > On Tue, Jun 20, 2017 at 4:17 AM, Steen Manniche <boxun...@gmail.com>
>> wrote:
>> >
>> >> Hi all,
>> >>
>> >> I have been looking through the hbase-thrift code looking for where
>> >> the server performs renewals of kerberos tickets for the provided
>> >> principal/keytab. I cannot seem to find any trace of this?
>> >>
>> >> As an example, the hadoop-common provides the class
>> >> UserGroupInformation, which exposes the method
>> >> checkTGTAndReloginFromKeytab. I can see that the ThriftServerRunner
>> >> has a handle to the class
>> >> (https://github.com/apache/hbase/blob/master/hbase-
>> >> thrift/src/main/java/org/apache/hadoop/hbase/thrift/
>> >> ThriftServerRunner.java#L205),
>> >> but I do not see the ticket renewal logic being called anywhere. Am I
>> >> missing something about how this works?
>> >>
>> >>
>> >> Thanks for the time and best regards,
>> >> Steen
>> >>
>>

Reply via email to