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

StorageBasedAuthorizationProvider does not look into Hadoop ACL while check for access

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      StorageBasedAuthorizationProvider uses

      FileSystem.access(Path, Action)
      

      method to check the access.

      This method gets the FileStatus object and checks access based on that. ACL's are not present in FileStatus.

       

      Instead, Hive should use

      FileSystem.get(path.toUri(), conf);
      
      <SpecificFileSystemImplementation>.access(Path, Action)
      

      where the implemented file system can do the access checks.

      Attachments

        Issue Links

          Activity

            People

              adeshrao Adesh Kumar Rao
              adeshrao Adesh Kumar Rao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m