hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk True <k...@mustardgrain.com>
Subject Re: Java client hangs when executing Hive query using JDBC interface
Date Mon, 01 Nov 2010 03:28:08 GMT
If you run `pkill -3 java` on the client and server machines, do you see 
anything interesting?

Kirk

On 10/31/10 5:06 AM, Regunath Balasubramanian wrote:
>
> We use the following Hadoop stack distribution:
>
> HDFS -- Cloudera 0.20.1+169.89
>
> Hive -- Cloudera 0.5.1
>
> OS -- RHEL 4
>
> Hive server(Thrift server) has been started using:
>
> nohup hive --service hiveserver &
>
> We are able to issue Hive queries using the CLI client.
>
> However our code hangs when we use the Hive JDBC interface. The code 
> hangs at statement.executeQuery("show tables;") after opening a 
> connection and creating the statement using it.
>
> The same code works on another similar environment. We are able to 
> telnet to the Thrift port i.e. 10000 from the machine where the client 
> is running.
>
> Any help or pointers?
>
> Thanks
>
> Regu
>
>
> ------------------------------------------------------------------------
>
> http://www.mindtree.com/email/disclaimer.html

Mime
View raw message