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:

However, in HIVE-6472 <>,
we've added support for a parallel cancel, which will let the user cancel a
long running job in another thread.

On Wed, Apr 2, 2014 at 9:23 PM, surendra lilhore <
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