Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> HiveServer2 : Can we perform parallel operation one same statement object in JDBC connection ?


Copy link to this message
-
Re: HiveServer2 : Can we perform parallel operation one same statement object in JDBC connection ?
Surendra,

In HiveServer2, internally, the HiveStatement object keeps a reference to
the corresponding operation object it created to execute the query. If you
call another execute, it closes the previous operation, thus clearing the
operation handle. Check this line:
https://github.com/apache/hive/blob/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java#L216
.

However, in HIVE-6472 <https://issues.apache.org/jira/browse/HIVE-6472>,
we've added support for a parallel cancel, which will let the user cancel a
long running job in another thread.

Thanks,
On Wed, Apr 2, 2014 at 9:23 PM, surendra lilhore <
[EMAIL PROTECTED]> wrote:
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB