xiaozhihong created IOTDB-3277:
----------------------------------
Summary: After starting 3C3D, create a storage group and report
400 in the CLI
Key: IOTDB-3277
URL: https://issues.apache.org/jira/browse/IOTDB-3277
Project: Apache IoTDB
Issue Type: Bug
Affects Versions: 0.14.0-SNAPSHOT
Reporter: xiaozhihong
Assignee: Minghui Liu
{code:java}
IoTDB> create storage group root.ln;
Msg: 400: [EXECUTE_STATEMENT_ERROR(400)] Exception occurred: checkAuthority
failed. null {code}
The steps to reproduce are as follows:
step 1: Start 3 confignodes
step 2: Start 3 datanodes
step 3: Enter CLI, execute SQL
{code:java}
create storage group root.ln; {code}
Then meet error 400:
{noformat}
2022-05-24 17:08:22,402 [pool-20-IoTDB-RPC-Client-1] ERROR
o.a.i.d.u.ErrorHandlingUtils:59 - Status code: EXECUTE_STATEMENT_ERROR(400),
operation: checkAuthority fai
java.lang.NullPointerException: null
at
org.apache.iotdb.db.auth.AuthorityChecker.checkAuthorization(AuthorityChecker.java:204)
at
org.apache.iotdb.db.auth.AuthorityChecker.checkAuthority(AuthorityChecker.java:186)
at
org.apache.iotdb.db.service.thrift.impl.DataNodeTSIServiceImpl.executeStatement(DataNodeTSIServiceImpl.java:523)
at
org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2853)
at
org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2833)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)