You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/01/31 23:57:56 UTC

[GitHub] [hadoop-ozone] smengcl opened a new pull request #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix

smengcl opened a new pull request #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix
URL: https://github.com/apache/hadoop-ozone/pull/514
 
 
   ## What changes were proposed in this pull request?
   
   I noticed that `OzoneVolume.listBuckets(String bucketPrefix)` behaves differently than `ObjectStore.listVolumes(String volumePrefix)` with a given prefix: `listBuckets` ignores the `bucketPrefix` in the result if it is an exact match; `listVolumes` doesn't.
   
   e.g. If we have a bucket named `bucket-12345`, currently `OzoneVolume.listBuckets("bucket-12345")` will NOT return bucket-12345 in its result.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2957
   
   ## How was this patch tested?
   
   Added unit test `testListBucketWithPrefixAsExactBucketName` and passed.
   
   Undoing the fix in `OmMetadataManagerImpl` will cause the last step in the unit test to fail.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] cxorm edited a comment on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix

Posted by GitBox <gi...@apache.org>.
cxorm edited a comment on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix
URL: https://github.com/apache/hadoop-ozone/pull/514#issuecomment-581039024
 
 
   Thanks @smengcl for the work.
   Is this issue duplicated with [the PR](https://github.com/apache/hadoop-ozone/pull/430) ?
   If so and this patch is committed, I will close my PR.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] cxorm commented on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix

Posted by GitBox <gi...@apache.org>.
cxorm commented on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix
URL: https://github.com/apache/hadoop-ozone/pull/514#issuecomment-581039024
 
 
   Thanks @smengcl for the work.
   Is this issue duplicated with [the PR](https://github.com/apache/hadoop-ozone/pull/430) ?

----------------------------------------------------------------
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


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] smengcl closed pull request #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix

Posted by GitBox <gi...@apache.org>.
smengcl closed pull request #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix
URL: https://github.com/apache/hadoop-ozone/pull/514
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] smengcl commented on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix

Posted by GitBox <gi...@apache.org>.
smengcl commented on issue #514: HDDS-2957. listBuckets result should include the exact match of bucketPrefix
URL: https://github.com/apache/hadoop-ozone/pull/514#issuecomment-583021156
 
 
   > Thanks @smengcl for the work.
   > Is this issue duplicated with [the PR](https://github.com/apache/hadoop-ozone/pull/430) ?
   > If so and this patch is committed, I will close my PR.
   
   Yep they looks like the same fix. Closing this one.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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