phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: ArrayIndexOutOfBoundsException when creating index
Date Thu, 13 Feb 2014 20:03:36 GMT
Modify the sqlline.sh by passing through the --verbose option and you
should see the full stack trace.




On Thu, Feb 13, 2014 at 11:48 AM, Justin Workman
<justinjworkman@gmail.com>wrote:

> The missing double quote was a typo. This is the only error I get in the
> sqlline shell. I'll check the region server logs again.
>
> Sent from my iPhone
>
> On Feb 13, 2014, at 12:46 PM, James Taylor <jamestaylor@apache.org> wrote:
>
> Can you include the stack trace please? Also, your CREATE INDEX statement
> is missing a double quote after
> relatedKeywordRank.
>
> Does the existing HBase table use the expected serialization format for
> Phoenix? If everything is strings and you don't have a composite row key,
> then it should be ok.
>
> Thanks
>
>
> On Thu, Feb 13, 2014 at 10:59 AM, Justin Workman <justinjworkman@gmail.com
> > wrote:
>
>> I am testing 2.2.3 and I get and ArrayIndexOutOfBoundsException when
>> creating an index with more than 1 column in the INCLUDE statement.
>>
>> CREATE INDEX KWD_IDX ON "keywordideas" ("jobName","parentKeyword")
>> INCLUDE ("keywordText","relatedKeywordRank);
>>
>> Error: java.lang.ArrayIndexOutOfBoundsException (state=08000,code=101)
>>
>> Is this a bug, or has something changed with 2.2.3? The table was created
>> on top of an existing HBase table.
>>
>> Thanks
>> Justin
>>
>
>

Mime
View raw message