Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8A471128E for ; Tue, 3 Jun 2014 03:28:47 +0000 (UTC) Received: (qmail 22092 invoked by uid 500); 3 Jun 2014 03:28:47 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 22013 invoked by uid 500); 3 Jun 2014 03:28:47 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 22000 invoked by uid 99); 3 Jun 2014 03:28:47 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 03:28:47 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id DB2571D9A70; Tue, 3 Jun 2014 03:28:38 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============9028585403730887503==" MIME-Version: 1.0 Subject: Re: Review Request 21846: HIVE-7117: Partitions not inheriting table permissions after alter rename partition From: "Ashish Singh" To: "Szehon Ho" Cc: "Swarnim Kulkarni" , "Ashish Singh" , "hive" Date: Tue, 03 Jun 2014 03:28:38 -0000 Message-ID: <20140603032838.12452.14764@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Ashish Singh" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/21846/ X-Sender: "Ashish Singh" References: <20140523055457.29379.83175@reviews.apache.org> In-Reply-To: <20140523055457.29379.83175@reviews.apache.org> Reply-To: "Ashish Singh" X-ReviewRequest-Repository: hive-git --===============9028585403730887503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On May 23, 2014, 5:54 a.m., Swarnim Kulkarni wrote: > > common/src/java/org/apache/hadoop/hive/common/FileUtils.java, line 591 > > > > > > Minor but this method seems to be doing more than just renaming. Should probably update the method name to be descriptive of what it does. Swarnim, I did change the method name to renameAndInheritPermissions, but then I realized its not required as the parameter inheritPerms kind of makes the intent of inheriting permissions clear. Having the long name seemed redundant. I am reverting the name to rename. Let me know if you do not agree. - Ashish ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21846/#review43813 ----------------------------------------------------------- On May 28, 2014, 10:10 p.m., Ashish Singh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/21846/ > ----------------------------------------------------------- > > (Updated May 28, 2014, 10:10 p.m.) > > > Review request for hive and Szehon Ho. > > > Bugs: HIVE-7117 > https://issues.apache.org/jira/browse/HIVE-7117 > > > Repository: hive-git > > > Description > ------- > > Change table name to have all lowercase letters. Looks like table name is toLower'ed by hive while creating file > > Avoid using same table in two different tests > > HIVE-7117: Partitions not inheriting table permissions after alter rename partition > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/common/FileUtils.java ee61350ab1d32db96a234f6444836f76e23f3251 > itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestFolderPermissions.java 4f566d2a2999eecea7018836505208ae80662e97 > metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java 221b01043b3520211643847c00b17b328ad2b9c0 > metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java c1790b427e7fa64780fdf0a580f28135d6a4ff8d > > Diff: https://reviews.apache.org/r/21846/diff/ > > > Testing > ------- > > Tested with itests. > > > Thanks, > > Ashish Singh > > --===============9028585403730887503==--