Use Spark Beeline to test AlwaysOn SQL.
You can use Shark Beeline to test AlwaysOn SQL.
Procedure
-
Start AlwaysOn SQL.
-
Start the Beeline shell.
-
Connect to the server using the JDBC URI for your server.
beeline> !connect jdbc:hive2://localhost:10000
-
Connect to a keyspace and run a query from the Beehive shell.
0: jdbc:hive2://localhost:10000> use test;
0: jdbc:hive2://localhost:10000> select * from test;