hadoop/hadoop-tools
Thomas Marquardt a5695057b1
HADOOP-17397: ABFS: SAS Test updates for version and permission update
DETAILS:

    The previous commit for HADOOP-17397 was not the correct fix.  DelegationSASGenerator.getDelegationSAS
    should return sp=p for the set-permission and set-acl operations.  The tests have also been updated as
    follows:

    1. When saoid and suoid are not specified, skoid must have an RBAC role assignment which grants
       Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action and sp=p
       to set permissions or set ACL.

    2. When saoid or suiod is specified, same as 1) but furthermore the saoid or suoid must be an owner of
       the file or directory in order for the operation to succeed.

    3. When saoid or suiod is specified, the ownership check is bypassed by also including 'o' (ownership)
       in the SAS permission (for example, sp=op).  Note that 'o' grants the saoid or suoid the ability to
       change the file or directory owner to themself, and they can also change the owning group. Generally
       speaking, if a trusted authorizer would like to give a user the ability to change the permissions or
       ACL, then that user should be the file or directory owner.

TEST RESULTS:

    namespace.enabled=true
    auth.type=SharedKey
    -------------------
    $mvn -T 1C -Dparallel-tests=abfs -Dscale -DtestsThreadCount=8 clean verify
    Tests run: 89, Failures: 0, Errors: 0, Skipped: 0
    Tests run: 461, Failures: 0, Errors: 0, Skipped: 24
    Tests run: 208, Failures: 0, Errors: 0, Skipped: 24

    namespace.enabled=true
    auth.type=OAuth
    -------------------
    $mvn -T 1C -Dparallel-tests=abfs -Dscale -DtestsThreadCount=8 clean verify
    Tests run: 89, Failures: 0, Errors: 0, Skipped: 0
    Tests run: 461, Failures: 0, Errors: 0, Skipped: 70
    Tests run: 208, Failures: 0, Errors: 0, Skipped: 141
2020-12-03 14:31:06 +00:00
..
hadoop-aliyun Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-archive-logs Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-archives Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-aws HADOOP-17398. Skipping network I/O in S3A getFileStatus(/) breaks some tests (#2493) 2020-11-26 20:26:44 +00:00
hadoop-azure HADOOP-17397: ABFS: SAS Test updates for version and permission update 2020-12-03 14:31:06 +00:00
hadoop-azure-datalake Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-datajoin Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-distcp HADOOP-17122: Preserving Directory Attributes in DistCp with Atomic Copy (#2133) 2020-08-22 18:51:10 +01:00
hadoop-dynamometer HADOOP-17367. Add InetAddress api to ProxyUsers.authorize (#2449). Contributed by Daryn Sharp and Ahmed Hussein 2020-11-19 21:26:47 +00:00
hadoop-extras Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-fs2img Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-gridmix Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-kafka Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-openstack Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-pipes Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-resourceestimator Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-rumen Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-sls YARN-10475: Scale RM-NM heartbeat interval based on node utilization. Contributed by Jim Brennan (Jim_Brennan). 2020-11-02 17:16:28 +00:00
hadoop-streaming Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
hadoop-tools-dist Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00
pom.xml Preparing for 3.3.1 development 2020-04-30 13:33:42 +09:00