For Running Hive in Server Mode ..
First U have to start service of hiveserver ::


*$bin/hive --service hiveserver
*

and then run the code

lei liu wrote:
Hello everyone,


I use JDBC to connection the hive server, sometime I receive below exception: java.sql.SQLException: org.apache.thrift.transport.TTransportException: Cannot read. Remote side has closed. Tried to read 1 bytes, but only got 0 bytes.

Please tell me the eason.


Thanks


LiuLei

Reply via email to