hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adarsh Sharma <adarsh.sha...@orkash.com>
Subject Re: java.sql.SQLException: org.apache.thrift.transport.TTransportException: Cannot read. Remote side has closed. Tried to read 1 bytes, but only got 0 bytes.
Date Mon, 23 Aug 2010 07:42:31 GMT
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


Mime
View raw message