From common-dev-return-100347-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Aug 14 00:25:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CC97618067A for ; Tue, 14 Aug 2018 00:25:04 +0200 (CEST) Received: (qmail 64894 invoked by uid 500); 13 Aug 2018 22:25:03 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 64778 invoked by uid 99); 13 Aug 2018 22:25:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2018 22:25:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 258A91809D5 for ; Mon, 13 Aug 2018 22:25:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id k7vhsMNq_rzx for ; Mon, 13 Aug 2018 22:25:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 171245F3EE for ; Mon, 13 Aug 2018 22:25:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4E817E2632 for ; Mon, 13 Aug 2018 22:25:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9557D23FA7 for ; Mon, 13 Aug 2018 22:25:00 +0000 (UTC) Date: Mon, 13 Aug 2018 22:25:00 +0000 (UTC) From: "Hrishikesh Gadre (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-15670) UserGroupInformation TGT renewer thread doesn't use monotonically increasing time for calculating interval to sleep MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Hrishikesh Gadre created HADOOP-15670: ----------------------------------------- Summary: UserGroupInformation TGT renewer thread doesn't use m= onotonically increasing time for calculating interval to sleep Key: HADOOP-15670 URL: https://issues.apache.org/jira/browse/HADOOP-15670 Project: Hadoop Common Issue Type: Bug Components: common Affects Versions: 2.9.1, 3.1.0 Reporter: Hrishikesh Gadre Assignee: Hrishikesh Gadre As per the [documentation of Time#now() method|https://github.com/apache/ha= doop/blob/74411ce0ce7336c0f7bb5793939fdd64a5dcdef6/hadoop-common-project/ha= doop-common/src/main/java/org/apache/hadoop/util/Time.java#L49-L57], it sho= uld not be used for calculating duration or interval to sleep. But the TGT = renewer thread in UserGroupInformation object doesn't follow this recommend= ation, [https://github.com/apache/hadoop/blob/74411ce0ce7336c0f7bb5793939fdd64a5dc= def6/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/se= curity/UserGroupInformation.java#L892-L899] This should be fixed to use Time.monotonicNow() API instead. =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org