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?