You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Nimrod Oren <ni...@veracity-group.com> on 2017/02/16 09:46:08 UTC
I didn't mean to sound rude.
I created another table using phoenix-sqlline according to the documentation:
CREATE TABLE IF NOT EXISTS TEST_SAVE_NEW (
IMEI VARCHAR NOT NULL PRIMARY KEY,
END_LATITUDE VARCHAR);
Still getting the same issue.
Re:
Posted by Dequn Zhang <d....@gmail.com>.
Sorry for my tone, I didn’t mean that.
I use Phoenix4.9 on HBase1.2, and according to your err info, I looked up
HTableDescriptor definition and found this method
public HTableDescriptor setValue(String key, String value) {
if(value == null) {
this.remove(key);
} else {
this.setValue(Bytes.toBytes(key), Bytes.toBytes(value));
}
return this;
}
It looks like a little weird you get this error, if you can, check your
HTableDescriptor definition, add the above code to it and have a try, if
this can’t work either, maybe you can upgrade your HBase version.
On 16 February 2017 at 17:50:00, Nimrod Oren (nimrod.oren@veracity-group.com)
wrote:
I didn't mean to sound rude.
I created another table using phoenix-sqlline according to the
documentation:
CREATE TABLE IF NOT EXISTS TEST_SAVE_NEW (
IMEI VARCHAR NOT NULL PRIMARY KEY,
END_LATITUDE VARCHAR);
Still getting the same issue.
Re:
Posted by Andrew Purtell <an...@gmail.com>.
Phoenix has to be patched to work with Cloudera's HBase derivative. You might try https://github.com/chiastic-security/phoenix-for-cloudera/tree/4.9-HBase-1.2-cdh5.9
Check out this tree and build. The procedure for building is the same (https://phoenix.apache.org/building.html) This will pick up Cloudera's artifacts and produce a binary compatible result.
> On Feb 16, 2017, at 8:07 AM, Marcin Januszkiewicz <ka...@gmail.com> wrote:
>
> Are you maybe using a HBase distribution from a vendor? I had similar errors when trying to use Phoenix 4.9 on the Cloudera build of HBase.
>
>> On 2017-02-16 10:46 (+0100), "Nimrod Oren"<ni...@veracity-group.com> wrote:
>> I didn't mean to sound rude.
>>
>> I created another table using phoenix-sqlline according to the documentation:
>>
>> CREATE TABLE IF NOT EXISTS TEST_SAVE_NEW (
>> IMEI VARCHAR NOT NULL PRIMARY KEY,
>> END_LATITUDE VARCHAR);
>>
>> Still getting the same issue.
>>
Re:
Posted by Marcin Januszkiewicz <ka...@gmail.com>.
Are you maybe using a HBase distribution from a vendor? I had similar errors when trying to use Phoenix 4.9 on the Cloudera build of HBase.
On 2017-02-16 10:46 (+0100), "Nimrod Oren"<ni...@veracity-group.com> wrote:
> I didn't mean to sound rude.
>
> I created another table using phoenix-sqlline according to the documentation:
>
> CREATE TABLE IF NOT EXISTS TEST_SAVE_NEW (
> IMEI VARCHAR NOT NULL PRIMARY KEY,
> END_LATITUDE VARCHAR);
>
> Still getting the same issue.
>