Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1EA119D37 for ; Wed, 30 Mar 2016 23:03:25 +0000 (UTC) Received: (qmail 60609 invoked by uid 500); 30 Mar 2016 23:03:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 60480 invoked by uid 500); 30 Mar 2016 23:03:25 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 60464 invoked by uid 99); 30 Mar 2016 23:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2016 23:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7D1C72C1F5D for ; Wed, 30 Mar 2016 23:03:25 +0000 (UTC) Date: Wed, 30 Mar 2016 23:03:25 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13151) Clean up UGI objects in FileSystem cache for transactions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-13151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219026#comment-15219026 ] Wei Zheng commented on HIVE-13151: ---------------------------------- Thanks. Committed to branch-2.0 :) > Clean up UGI objects in FileSystem cache for transactions > --------------------------------------------------------- > > Key: HIVE-13151 > URL: https://issues.apache.org/jira/browse/HIVE-13151 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 2.0.0 > Reporter: Wei Zheng > Assignee: Wei Zheng > Fix For: 1.3.0, 2.1.0, 2.0.1 > > Attachments: HIVE-13151.1.patch, HIVE-13151.2.patch, HIVE-13151.3.patch, HIVE-13151.4.patch, HIVE-13151.ADDENDUM.patch > > > One issue with FileSystem.CACHE is that it does not clean itself. The key in that cache includes UGI object. When new UGI objects are created and used with the FileSystem api, new entries get added to the cache. > We need to manually clean up those UGI objects once they are no longer in use. -- This message was sent by Atlassian JIRA (v6.3.4#6332)