accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Celeste Hofer <celesteho...@gmail.com>
Subject Re: Using Accumulo shell to add column visibility to cells containing Unicode values
Date Wed, 28 Aug 2013 19:28:59 GMT
The version is 1.5, thanks for the info.


On Mon, Aug 26, 2013 at 3:20 PM, Mike Drob <mdrob@mdrob.com> wrote:

> What version are you using? According to ACCUMULO-241, you should be able
> to quote any UTF-8 characters for visibility using the Java API. The shell
> will likely have parsing issues, however.
>
> [1]: https://issues.apache.org/jira/browse/ACCUMULO-241
>
>
> On Mon, Aug 26, 2013 at 3:56 PM, John Vines <vines@apache.org> wrote:
>
>> The java API is the most feature rich way of interfacing with Accumulo.
>> The shell is a utility built on it, but occasionally issues get hit with
>> parsing user input. It seems you have hit one of these cases. You may be
>> able to quote your fields, etc.
>>
>> However, it is more important to note that the visibilities are very
>> strict for the character set allowed. Only a-z, A-Z, 0-9, and a few
>> additional characters are allowed (- and _ if I remember correctly). So
>> unicode won't work, and you'd get an error indicating that if you could get
>> the shell to accept them.
>>
>>
>> On Mon, Aug 26, 2013 at 3:52 PM, Celeste Hofer <celestehofer@gmail.com>wrote:
>>
>>>
>>> Hello,
>>>
>>> I am trying to add column visibility (a label) to cells containing
>>> Unicode values, using an Accumulo shell.
>>> However, I receive this
>>> ERROR: java.lang.IllegalArgumentException: Expected 4 arguments.  There
>>> was 6.
>>>
>>>
>>> Is the use of the Accumulo shell supported for applying column
>>> visibility when the value is Unicode?
>>>
>>> If it is supported, please provide a simple example, or more information.
>>>
>>> If it is not supported via the Accumulo shell, is there another
>>> supported approach, for example, using the Java API?
>>>
>>> Thanks,
>>> Celeste H
>>>
>>
>>
>

Mime
View raw message