Re: Yarn Application ID for Hive query

2016-07-18 Thread Gopal Vijayaraghavan
> be nice to have access to a command or API call in HiveServer2 similar >to MySQL¹s ³SHOW PROCESSLIST² (and equivalent commands in most other >databases). There is one - if you have the HiveServer2 UI (in 2.0), that can be seen. It would take 10-15 line JSP script to export that as a JSON API

RE: Yarn Application ID for Hive query

2016-07-18 Thread Amit Bajpai
rn_app_id = log.substring(log.indexOf("App id") +7, log.length()-1); } } System.out.println("YARN Application ID: " + yarn_app_id); Now I am trying to find the Tez DAG ID for the query. From: Gerber, Bryan W [mailto:bryan.ger...@pnnl.gov] Sent: Monday, July 18, 2016 1:47 PM To

RE: Yarn Application ID for Hive query

2016-07-18 Thread Gerber, Bryan W
mmands in most other databases). From: Amit Bajpai [mailto:amit.baj...@flextronics.com] Sent: Thursday, July 14, 2016 10:22 PM To: user@hive.apache.org Subject: Yarn Application ID for Hive query Hi, I am using the below python program to run a hive query. How can I get the Yarn application ID usin

Yarn Application ID for Hive query

2016-07-14 Thread Amit Bajpai
Hi, I am using the below python program to run a hive query. How can I get the Yarn application ID using the python program for the hive query execution. import pyhs2 with pyhs2.connect(host='abc.sac.com', port=1, authMechanism="PLAIN", user='ami