Thank you for your answer.

Blob like data.tgz in the blobstore can be created through command line
using the following command.

storm blobstore create key -f data.tgz -a u:alice:rwa,u:bob:rw,o::r

As you say, we disallow keys with a '.' in them. But when the supervisor
download the bolb, it try to match the name of the key to have a . in it,
only with the suffix of ".tar.gz" or "tgz", it can be unprocessed in the
"unpack" method.

I have filed a JIRA yesterday, then i will have a good improvement.
https://issues.apache.org/jira/browse/STORM-2398



Thanks & Regards
Qingxiang Ma


2017-03-07 23:19 GMT+08:00 Bobby Evans <[email protected]>:

> Most attachments get filtered out by the mailing list software so I cannot
> tell exactly what you are referring too, but it looks like you are correct
> that we disallow keys with a '.' in them.
> https://github.com/apache/storm/blob/master/storm-core/src/
> jvm/org/apache/storm/utils/Utils.java#L1735
> But then try to match the name of the key to have a . in it.  Please file
> a JIRA with a reproducible use case in it and we will fix it.
>
>
> - Bobby
>
> On Monday, March 6, 2017, 10:16:05 PM CST, 马庆祥 <[email protected]>
> wrote:Hello all,
> I have a questions about storm distributed cache.As shown in the figure 1
> and figure 2, the method "getBlobs" in the "Localizer" class, and the
> method "DownloadBlob" in the "Localizer" class.In my opinion, the
> "localFile" parameter is always the blob key, it can not be with the suffix
> of ".tar.gz", so the "unpack" method can not work, Please help me
> understand it.
> Thanks & RegardsQingxiang Ma
>                                              figure 1
>                           figure 2
> ​
>

Reply via email to