[ https://issues.apache.org/jira/browse/HIVE-7583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087505#comment-14087505 ]
Hive QA commented on HIVE-7583: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12659921/HIVE-7583.3.patch {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 5878 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_parquet_mixed_case org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hadoop.hive.ql.TestDDLWithRemoteMetastoreSecondNamenode.testCreateTableWithIndexAndPartitionsNonDefaultNameNode org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/184/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/184/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-184/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12659921 > Use FileSystem.access() if available to check file access for user > ------------------------------------------------------------------ > > Key: HIVE-7583 > URL: https://issues.apache.org/jira/browse/HIVE-7583 > Project: Hive > Issue Type: Bug > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-7583.1.patch, HIVE-7583.2.patch, HIVE-7583.3.patch > > > Hive currently implements its own file access checks to determine if a user > is allowed to perform an specified action on a file path (in > StorageBasedAuthorizationProvider, also FileUtils). This can be prone to > errors or inconsistencies with how file access is actually checked in Hadoop. > HDFS-6570 adds a new FileSystem.access() API, so that we can perform the > check using the actual HDFS logic rather than having to imitate that behavior > in Hive. For versions of Hadoop that have this API available, we should use > this API. -- This message was sent by Atlassian JIRA (v6.2#6252)