hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: Accumulo Storage Manager
Date Tue, 08 Sep 2015 21:15:03 GMT
For the Array support: it might have just been a missed test case and is 
just a bug. I don't recall how off the top of my head Arrays are 
intended to be serialized (if it's some numeric counter in the Accumulo 
CQ or just serializing all the elements in the array into the Accumulo 
Value). If it isn't working for you, feel free to open up a JIRA issue 
with the details and mention me so I notice it :). I can try to help 
figure out what's busted, and, if necessary, a fix.

For the Map support, what are you trying to do differently? Going from 
memory, I believe the support is for a fixed column family and an 
optional column qualifier prefix. This limits the entries in a Map to 
that column family, and allows you to place multiple maps into a given 
family for locality purposes (identifying the maps by qualifier-prefix, 
and getting Key uniqueness from the qualifier-suffix). There isn't much 
flexibility in this regard for alternate serialization approaches -- the 
considerations at the time were for a general-purpose schema that you 
don't really have to think about (you just think SQL).

- Josh wrote:
> Hi,
> I have been trying out the Hive Accumulo Manager as described here
> and it seems to work as advertised. Thanks.
> However I don’t seem to be able to get any sensible results when I have
> a Hive column of type ARRAY<> like ARRAY<INT> or ARRAY<STRING>.
> Are Hive columns of ARRAY<> types not supported? If so then how are they
> stored in Accumulo?
> Also, although I can get a Hive MAP<STRING,X> to work by using the
> approach where the map key is mapped to the column qualifier
> (“Using an asterisk in the column mapping string”) I don’t seem to be
> able to get a Hive MAP stored successfully in any other way.
> Is this the only supported way to store Hive MAPs?
> I know that I could customise the storage manager to achieve what I want
> but, in the short-term at least, I would like
> To know what I can achieve with the Hive Accumulo Storage Manager as is.
> Regards,
> Z
> Please consider the environment before printing this email. This message
> should be regarded as confidential. If you have received this email in
> error please notify the sender and destroy it immediately. Statements of
> intent shall only become binding when confirmed in hard copy by an
> authorised signatory. The contents of this email may relate to dealings
> with other companies under the control of BAE Systems Applied
> Intelligence Limited, details of which can be found at

View raw message