Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DBDAA200CC1 for ; Mon, 26 Jun 2017 07:34:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA7C7160BF4; Mon, 26 Jun 2017 05:34:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2CF20160BE0 for ; Mon, 26 Jun 2017 07:34:59 +0200 (CEST) Received: (qmail 48233 invoked by uid 500); 26 Jun 2017 05:34:57 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 48221 invoked by uid 99); 26 Jun 2017 05:34:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2017 05:34:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EA525C05B0 for ; Mon, 26 Jun 2017 05:34:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.897 X-Spam-Level: X-Spam-Status: No, score=-2.897 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vuY9y7kUA3_y for ; Mon, 26 Jun 2017 05:34:53 +0000 (UTC) Received: from mail-wr0-f177.google.com (mail-wr0-f177.google.com [209.85.128.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 049C45FD81 for ; Mon, 26 Jun 2017 05:34:53 +0000 (UTC) Received: by mail-wr0-f177.google.com with SMTP id c11so136651005wrc.3 for ; Sun, 25 Jun 2017 22:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xx4eaqrKoiQGHuLhpWUyScdgCOpY1OtHEcwuLFMzoYg=; b=odc2Y41IVXpiEgC9j1OaNgWr7Nl1nzpDknGjuUkn+Md5UciG1W+cSscXB2nEFcWyzl Lx3Mi7YtPqU9c+nMiJ1G2PddsuC7qUl2LRYeoRTcaXCUYWFMZQRYNauukJ5CDYQemmHJ nKOgCtMlPstyLqvXPA49XYXL8GpL/3qH53gMYAchNsgYE0fU+0ABXCt7+j/iYJTolvE8 nayWblrtqxICVd1OjrghsCuIQc7/WlQDbFpymO4oG3/f7ZZWgqwVyAMW9mPgij33D19I OoR9KAQ88ORnkT5dxZyyeHAtwGxkRLJ8z8oSvjMWOadizvhxh39Qon6fYbTGzN7J5iAz icaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xx4eaqrKoiQGHuLhpWUyScdgCOpY1OtHEcwuLFMzoYg=; b=gXCc9GMDqXGMzr7SpuHCA9QvCpZU6XtZ4m3E+zxma1mtubBMI+6z2mUj0M8w0ngnsv k1jn5/gb+ffTaswAJJVc1qwa7hLYSFqN6KiGB8fAkNC1qktiuSnFCPwIqQBE3awxd0gZ rERQzRHbP9r5TyyIoNzuqmgfX2yLs0p1q3VBY04cHFSQaq4MDZfQo5y4o3xHTZ49g/A5 K2Gtd6DJgOr1ewjbiF/CpEw25UZtMfTRKjtcXl6pIFL1NziYnE6tZwoszqSrySdIrDkk A/dztF0jkiL5oMCoXIbLnJ9ibvNJdyUkJNB3zMhjyxxjlYpiZ/HFl6PSONYAgKp61YFE MJJw== X-Gm-Message-State: AKS2vOwn1YhA8aIczF6JXkE+rY3A3172SQhxiPHkMTXUpgAI5JzJGykD /XAoFElrgktVknHFCQOFxxdluSE8Hw== X-Received: by 10.28.54.217 with SMTP id y86mr692612wmh.81.1498455291867; Sun, 25 Jun 2017 22:34:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.143.21 with HTTP; Sun, 25 Jun 2017 22:34:31 -0700 (PDT) In-Reply-To: References: From: Jerry He Date: Sun, 25 Jun 2017 22:34:31 -0700 Message-ID: Subject: Re: Thrift server kerberos ticket refresh To: "user@hbase.apache.org" Content-Type: text/plain; charset="UTF-8" archived-at: Mon, 26 Jun 2017 05:35:00 -0000 Let's go to the JIRA ticket you opened. Please describe the problem more over there. For example, give the exception or stack trace and where it comes from. Thanks, Jerry On Wed, Jun 21, 2017 at 12:15 AM, Steen Manniche wrote: > I understand that the ticket renewal logic might be called indirectly > through some process/module that the thrift server is importing or > using, but after a thorough spelunking around the code-base, I was not > able to find any path to ticket renewal logic. Which is why I turned > to the list :) > > On Wed, Jun 21, 2017 at 5:06 AM, Jerry He 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 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 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 >>> 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 >>> >> >>>