phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Batyrshin <0x62...@gmail.com>
Subject Re: Alter Table throws java.lang.NullPointerException
Date Thu, 25 Jul 2019 17:53:44 GMT
HBase - 1.4.8
Phoenix - 4.14.1

Looks like there is very similar issue in jira - https://issues.apache.org/jira/browse/PHOENIX-5210
<https://issues.apache.org/jira/browse/PHOENIX-5210>

> On 24 Jul 2019, at 16:46, Josh Elser <elserj@apache.org> wrote:
> 
> Please start by sharing the version of Phoenix that you're using.
> 
> Did you search Jira to see if there was someone else who also reported this issue?
> 
> On 7/23/19 4:24 PM, Alexander Batyrshin wrote:
>> Hello all,
>> Got this:
>> alter table TEST_TABLE SET APPEND_ONLY_SCHEMA=true;
>> java.lang.NullPointerException
>>         at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:3240)
>>         at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:3221)
>>         at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableAddColumnStatement$1.execute(PhoenixStatement.java:1432)
>>         at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:408)
>>         at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:391)
>>         at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
>>         at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:390)
>>         at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:378)
>>         at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1825)
>>         at sqlline.Commands.execute(Commands.java:822)
>>         at sqlline.Commands.sql(Commands.java:732)
>>         at sqlline.SqlLine.dispatch(SqlLine.java:813)
>>         at sqlline.SqlLine.begin(SqlLine.java:686)
>>         at sqlline.SqlLine.start(SqlLine.java:398)
>>         at sqlline.SqlLine.main(SqlLine.java:291)
>> Any ideas how to fix?


Mime
View raw message