You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/01/26 09:43:00 UTC
[jira] [Created] (IOTDB-2498) After using the CLI with OpenID connect auth , execute SQL and report an exception directly
xiaozhihong created IOTDB-2498:
----------------------------------
Summary: After using the CLI with OpenID connect auth , execute SQL and report an exception directly
Key: IOTDB-2498
URL: https://issues.apache.org/jira/browse/IOTDB-2498
Project: Apache IoTDB
Issue Type: Bug
Components: Client/CLI
Affects Versions: 0.13.0-SNAPSHOT
Reporter: xiaozhihong
Step 1:generate token
Step 2:start server
step 3:start cli by token
Do as following:
{code:java}
[cluster@i-huxxaglx apache-iotdb-0.13.0-SNAPSHOT-all-bin]$ ./sbin/start-cli.sh -h 172.20.70.21 -p 6667 -u eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICItWUlqQjFFLXNCa0w5MHh5ZzNheXlaWFhkUFMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsCP0U7s5o5sKfbMDCB49721NMLnR7xlf-NBwGo7bCAVD67WLVjn_XVTw5lzKBwPynRS2w -pw ""
please input your password:
17:31:17.327 [main] DEBUG org.apache.iotdb.rpc.AutoResizingBuffer - org.apache.iotdb.rpc.AutoResizingBuffer@5db45159 expand from 1024 to 1536, request: 1310
---------------------
Starting IoTDB Cli
---------------------
_____ _________ ______ ______
|_ _| | _ _ ||_ _ `.|_ _ \
| | .--.|_/ | | \_| | | `. \ | |_) |
| | / .'`\ \ | | | | | | | __'.
_| |_| \__. | _| |_ _| |_.' /_| |__) |
|_____|'.__.' |_____| |______.'|_______/ version 0.13.0-SNAPSHOT
IoTDB> login successfully
IoTDB> show storage groupJan 26, 2022 5:32:16 PM org.jline.utils.Log logr
WARNING: Failed to save history
java.nio.file.FileSystemException: /home/cluster/.iotdb_history-1468626598-6667-eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICItWUlqQjFFLXNCa0w5MHh5ZzNheXlaWFhkUFMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxMDgwLsCP0U7s5o5sKfbMDCB49721NMLnR7xlf-NBwGo7bCAVD67WLVjn_XVTw5lzKBwPynRS2w: File name too long
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.newBufferedWriter(Files.java:2860)
at java.nio.file.Files.newBufferedWriter(Files.java:2896)
at org.jline.reader.impl.history.DefaultHistory.internalWrite(DefaultHistory.java:230)
at org.jline.reader.impl.history.DefaultHistory.save(DefaultHistory.java:219)
at org.jline.reader.impl.history.DefaultHistory.add(DefaultHistory.java:384)
at org.jline.reader.impl.LineReaderImpl.finish(LineReaderImpl.java:1140)
at org.jline.reader.impl.LineReaderImpl.finishBuffer(LineReaderImpl.java:1109)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:689)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:507)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:480)
at org.apache.iotdb.cli.Cli.receiveCommands(Cli.java:167)
at org.apache.iotdb.cli.Cli.serve(Cli.java:146)
at org.apache.iotdb.cli.Cli.main(Cli.java:90)
+-------------+
|storage group|
+-------------+
| root.ln|
| root.sg|
+-------------+
Total line number = 2
It costs 0.038s
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)