hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Fabbri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14759) S3GuardTool prune to prune specific bucket entries
Date Fri, 16 Feb 2018 00:01:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366435#comment-16366435
] 

Aaron Fabbri commented on HADOOP-14759:
---------------------------------------

I thought we already did this for some reason.

Anyways, I'd suggest you can actually 
(1) specify a subdirectory tree or bucket (basically, any path prefix that ends in slash)



> S3GuardTool prune to prune specific bucket entries
> --------------------------------------------------
>
>                 Key: HADOOP-14759
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14759
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.0.0-beta1
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Users may think that when you provide a URI to a bucket, you are pruning all entries
in the table *for that bucket*. In fact you are purging all entries across all buckets in
the table:
> {code}
> hadoop s3guard prune -days 7 s3a://ireland-1
> {code}
> It should be restricted to that bucket, unless you specify otherwise
> +maybe also add a hard date rather than a relative one



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message