RE: HiveServer2 : Can we perform parallel operation one same statement object in JDBC connection ?

2014-04-02 Thread surendra lilhore
? Based on my past experience, the answer is "no". You may reuse the statement object sequentially, but you cannot do so in a concurrent manner. --Xuefu On Wed, Apr 2, 2014 at 6:42 AM, surendra lilhore < surendra.lilh...@huawei.com> wrote: > Hi all, > >

HiveServer2 : Can we perform parallel operation one same statement object in JDBC connection ?

2014-04-02 Thread surendra lilhore
Hi all, I am deleting all table using this code in HiveServer2, but after deleting all the table hive sever is throwing "Invalid OperationHandle" exception. ResultSet resultSet = stmt.executeQuery("show tables"); while (resultSet.next()) { stm