hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Control name of binary files downloaded from HBASE table via REST
Date Sat, 14 Nov 2015 18:49:44 GMT
Can you show the code snippet which retrieves the binary column and saves
in a file ?

Cheers

On Sat, Nov 14, 2015 at 12:53 AM, hbaseuser <ostap26@gmail.com> wrote:

> I have a hbase table , with two columns : id and binary . ( for storing
> files
> ) .
>
> I have a HTML page , with links to files , when each link leads to a file
> using HBASE rest api .
>
> The question is how can I control the names of downloaded files ? By
> clicking on the links in my browser ( Chrome ) I am able to download the
> files , but all of them with same name  ( which is name of the column )
>
> What I want is to be able to download a file named as its ID  .
>
> When I trying to do an HttpRequest in Javascript , I get
> CrossOrginException
> .
>
> Is there any support for content disposition header or some other way  ?
>
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Control-name-of-binary-files-downloaded-from-HBASE-table-via-REST-tp4075929.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message