[
https://issues.apache.org/jira/browse/JCLOUDS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timur Sungur updated JCLOUDS-122:
---------------------------------
Description:
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.
was:
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.
See: https://issues.apache.org/jira/browse/JCLOUDS-121
> 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
> Priority: Minor
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira