jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCLOUDS-122) BlobStore.clearContainer(), BlobStore.deleteContainer(), BlobStore.list() do not work
Date Mon, 26 Oct 2015 03:58:27 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Gaul resolved JCLOUDS-122.
---------------------------------
       Resolution: Duplicate
         Assignee: Timur Alperovich
    Fix Version/s: 2.0.0

> BlobStore.clearContainer(), BlobStore.deleteContainer(), BlobStore.list() do not work
> -------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-122
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-122
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.0
>            Reporter: Timur Sungur
>            Assignee: Timur Alperovich
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> After adding some blobs into a container, the AWS blob store container went into an unstable
state.
> Whenever I call the methods BlobStore.clearContainer(), BlobStore.deleteContainer(),
BlobStore.list() on the corresponding container, the  following exception is thrown:
> java.lang.IllegalArgumentException: duplicate key: http%3A%2F%2Fwww.example.org%2Fwinery%2FTEST%2Fjclouds1/test/test.properties
> 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
> 	at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67)
> 	at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249)
> 	at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235)
> 	at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168)
> 	at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142)
> 	at org.jclouds.s3.blobstore.functions.BucketToResourceList.apply(BucketToResourceList.java:65)
> 	at org.jclouds.s3.blobstore.S3BlobStore.list(S3BlobStore.java:148)
> Adding blobs with names: 
> blobName1: http%3A%2F%2Fwww.example.org%2Fwinery%2FTEST%2Fjclouds1/test/test.properties/

> blobName2: http%3A%2F%2Fwww.example.org%2Fwinery%2FTEST%2Fjclouds1/test/test.properties//
> with some content and then calling the methods BlobStore.clearContainer(), BlobStore.deleteContainer(),
BlobStore.list(myContainer, recursive) should reproduce the problem.
> Check https://issues.apache.org/jira/browse/JCLOUDS-121 as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message