From notifications-return-2762-apmail-jclouds-notifications-archive=jclouds.apache.org@jclouds.apache.org Tue Dec 17 12:54:19 2013 Return-Path: X-Original-To: apmail-jclouds-notifications-archive@www.apache.org Delivered-To: apmail-jclouds-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F212510882 for ; Tue, 17 Dec 2013 12:54:18 +0000 (UTC) Received: (qmail 70772 invoked by uid 500); 17 Dec 2013 12:54:16 -0000 Delivered-To: apmail-jclouds-notifications-archive@jclouds.apache.org Received: (qmail 70530 invoked by uid 500); 17 Dec 2013 12:54:11 -0000 Mailing-List: contact notifications-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jclouds.apache.org Delivered-To: mailing list notifications@jclouds.apache.org Received: (qmail 70374 invoked by uid 99); 17 Dec 2013 12:54:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 12:54:08 +0000 Date: Tue, 17 Dec 2013 12:54:08 +0000 (UTC) From: =?utf-8?Q?Klaus_M=C3=BCller_=28JIRA=29?= To: notifications@jclouds.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCLOUDS-391) can't set user-defined metadata for Azure with multipart blobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCLOUDS-391?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D138= 50410#comment-13850410 ]=20 Klaus M=C3=BCller commented on JCLOUDS-391: -------------------------------------- Hi Andrew, I did some tests with and without multipart set: https://issues.apache.org/= jira/browse/JCLOUDS-391 With multipart set, user defined meta data were not set, but I can't find t= he error. What shall we do with this issue, is there someone else who can resolve thi= s bug. Cheers Klaus > can't set user-defined metadata for Azure with multipart blobs > -------------------------------------------------------------- > > Key: JCLOUDS-391 > URL: https://issues.apache.org/jira/browse/JCLOUDS-391 > Project: jclouds > Issue Type: Bug > Components: jclouds-blobstore > Affects Versions: 1.6.2 > Environment: Windows 7, Azure and S3 > Reporter: Klaus M=C3=BCller > Priority: Critical > > Try to set user defined meta data for Azure blob storage. No error settin= g meta data, but when I try to read them, they were not stored for the give= n blob. > my code (small part of it): > ... > BlobStore blobStore =3D Context.getBlobStore(); > BlobBuilder builder =3D blobStore.blobBuilder("blob001"); > PayloadBlobBuilder payload =3D builder.payload(data); // data i= s InputStream > payload.contentLength(datalen); > Blob blob =3D payload.build(); > Map keyValueMap =3D new HashMap(); > keyValueMap.put("testmeta","12345"); > blob.getMetadata().setUserMetadata(keyValueMap); > blobStore.putBlob("container001", blob, multipart() ); > ... > For S3 it works. > Is this a known problem with Azure, or something wrong with my code? -- This message was sent by Atlassian JIRA (v6.1.4#6159)