phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (Jira)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-5489) Expected length of at least 8 bytes, but had 7 (state=22000,code=201)
Date Wed, 25 Sep 2019 14:43:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser updated PHOENIX-5489:
--------------------------------
    Fix Version/s:     (was: 4.14.1)

> Expected length of at least 8 bytes, but had 7 (state=22000,code=201)
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-5489
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5489
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.1
>            Reporter: Ashish
>            Priority: Major
>
> As part of the process to upgrade phoenix from 4.7 to 4.14. We need to export all tables'
data out. We found the following error during export one of the table. This indicates some
data is not written to hbase by using phoenix client api or the one of the column data type
has been changed. We got below error. I am not sure how to fix this. Need your assistance
on this ASAP.
>  
> java.sql.SQLException: ERROR 201 (22000): Illegal data. Expected length of at least 8
bytes, but had 7
>         at org.apache.phoenix.mapreduce.PhoenixRecordReader.nextKeyValue(PhoenixRecordReader.java:159)
>  
> This can be reproduced by running:
> select messageid from TABLE limit 100;



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message