[ https://issues.apache.org/jira/browse/HIVE-24484?focusedWorklogId=770111&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-770111 ]
ASF GitHub Bot logged work on HIVE-24484: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/May/22 10:10 Start Date: 13/May/22 10:10 Worklog Time Spent: 10m Work Description: ayushtkn commented on code in PR #3279: URL: https://github.com/apache/hive/pull/3279#discussion_r872219527 ########## hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestHCatMultiOutputFormat.java: ########## @@ -315,18 +320,19 @@ public void testOutputFormat() throws Throwable { // Check permisssion on partition dirs and files created for (int i = 0; i < tableNames.length; i++) { - Path partitionFile = new Path(warehousedir + "/" + tableNames[i] - + "/ds=1/cluster=ag/part-m-00000"); - FileSystem fs = partitionFile.getFileSystem(mrConf); - Assert.assertEquals("File permissions of table " + tableNames[i] + " is not correct", - fs.getFileStatus(partitionFile).getPermission(), - new FsPermission(tablePerms[i])); - Assert.assertEquals("File permissions of table " + tableNames[i] + " is not correct", - fs.getFileStatus(partitionFile.getParent()).getPermission(), - new FsPermission(tablePerms[i])); - Assert.assertEquals("File permissions of table " + tableNames[i] + " is not correct", - fs.getFileStatus(partitionFile.getParent().getParent()).getPermission(), - new FsPermission(tablePerms[i])); + final Path partitionFile = new Path(warehousedir + "/" + tableNames[i] + "/ds=1/cluster=ag/part-m-00000"); + final Path grandParentOfPartitionFile = partitionFile.getParent(); Review Comment: Changed. I picked it as is from the previous PR, when I saw this test failing :-) Issue Time Tracking ------------------- Worklog Id: (was: 770111) Time Spent: 9h 53m (was: 9h 43m) > Upgrade Hadoop to 3.3.1 > ----------------------- > > Key: HIVE-24484 > URL: https://issues.apache.org/jira/browse/HIVE-24484 > Project: Hive > Issue Type: Improvement > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Major > Labels: pull-request-available > Time Spent: 9h 53m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.7#820007)