@wallacei
Error:
sqlline-thin.py is configured to use Protobuf serialization for communication with PQS.
Protobuf relies on pre-defined class names to parse responses from the server.
The error message suggests that sqlline-thin.py is unable to find the class name for a specific response message from PQS.
===================
Check PQS Configuration:
Ensure PQS is configured to use Protobuf serialization as well. This might involve checking configuration files or options during PQS startup.
Verify Library Versions:
Make sure the versions of sqlline-thin.py and the Phoenix libraries (including PQS) are compatible. Inconsistent versions might lead to class name mismatch issues. You can check the documentation for sqlline-thin.py for specific version compatibility information.
Consider sqlline.py (Regular JDBC):
As your sqlline.py script works with regular JDBC, it suggests the basic Phoenix connection is functional. You might consider using sqlline.py for now while troubleshooting the Protobuf issue with sqlline-thin.py.
Alternative Tools:
If sqlline-thin.py continues to cause problems, explore alternative tools for connecting to Phoenix like the Phoenix JDBC thin client or a GUI client like Squirrel SQL.
Double-check the connection URL in sqlline-thin.py. Ensure it points to the correct PQS endpoint (http://localhost:8765 by default).