Sushanth Sowmyan created HIVE-10638:
---------------------------------------

             Summary: HIVE-9736 introduces issues with 
Hadoop23Shims.checkFileAccess
                 Key: HIVE-10638
                 URL: https://issues.apache.org/jira/browse/HIVE-10638
             Project: Hive
          Issue Type: Bug
            Reporter: Sushanth Sowmyan


Copy-pasting [~spena]'s comment in HIVE-9736:

Hi [~mithun]

This patch is causing the above tests to fail due to the change on 
{{Hadoop23Shims.checkFileAccess(FileSystem fs, Iterator<FileStatus> statuses, 
EnumSet<FsAction> actions)}}. 

The line that fails is {{accessMethod.invoke(fs, statuses.next(), 
combine(actions));}}

I an running hadoop 2.6.0, and the FileSystem.access() object accepts a Path 
and FsAction. When I run the code that checks patch permissions, I get this 
error: 
{noformat}
hive> explain select * from a join b on a.id = b.id;
FAILED: SemanticException Unable to determine if 
hdfs://localhost:9000/user/hive/warehouse/a is read only: 
java.lang.IllegalArgumentException: argument type mismatch
{noformat}

Is there a follow-up jira for this error?








--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to