You can start HiveServer2, then submit queries to it using JDBC. If you open 
multiple sessions using multiple threads, you will be able to submit queries in 
parallel, although the compilation is still currently serialized.

From: Raajay <raaja...@gmail.com<mailto:raaja...@gmail.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" 
<user@hive.apache.org<mailto:user@hive.apache.org>>
Date: Tuesday, August 25, 2015 at 06:21
To: "user@hive.apache.org<mailto:user@hive.apache.org>" 
<user@hive.apache.org<mailto:user@hive.apache.org>>
Subject: Run multiple queries simultaneously

Hello,

I want to compare the running time of an query when run alone against the run 
time in presence of other queries.

What is the ideal setup required to run this experiment ? Should I have two 
Hive CLI's open and issue queries simultaneously ? How to script such 
experiment in Hive ?

Raajay

Reply via email to