Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10638

HIVE-9736 introduces issues with Hadoop23Shims.checkFileAccess

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.2.0
    • None
    • None

    Description

      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:

      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
      

      Is there a follow-up jira for this error?

      Attachments

        Activity

          People

            sushanth Sushanth Sowmyan
            sushanth Sushanth Sowmyan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: