You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/27 19:08:00 UTC

[jira] [Work logged] (HADOOP-17227) improve s3guard markers -expected

     [ https://issues.apache.org/jira/browse/HADOOP-17227?focusedWorklogId=475490&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-475490 ]

ASF GitHub Bot logged work on HADOOP-17227:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Aug/20 19:07
            Start Date: 27/Aug/20 19:07
    Worklog Time Spent: 10m 
      Work Description: steveloughran opened a new pull request #2254:
URL: https://github.com/apache/hadoop/pull/2254


   * move from -expect to -min and -max; easier for CLI testing. Plus works
   * in -nonauth mode, even when policy == keep, files not in an auth path
     count as failure.
   * bucket-info option also prints out the authoritative path, so you have
     more idea what is happening
   * reporting of command failure more informative
   
   The reason for change #2 is a workflow where you want to audit a dir, even
   though you are in keep mode, and you don't have any auth path. You'd expect
   -nonauth to say "no auth path", but instead it treats the whole dir as
   auth.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 475490)
    Remaining Estimate: 0h
            Time Spent: 10m

> improve s3guard markers -expected 
> ----------------------------------
>
>                 Key: HADOOP-17227
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17227
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The s3guard markers audit -expected N command is meant to verify that the marker count is N, but
> * it isn't verified if the #of markers is 0, so you can't use it to assert that markers have been created
> * it doesn't work for tests where you expect a minimum number of markers. 
> It's essentially setting a max #of markers
> Proposed: explicit -min, -max args to declare a specific range of values



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org