Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5A8C1894B for ; Fri, 20 Nov 2015 21:35:51 +0000 (UTC) Received: (qmail 93953 invoked by uid 500); 20 Nov 2015 21:35:50 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 93875 invoked by uid 500); 20 Nov 2015 21:35:50 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 93864 invoked by uid 99); 20 Nov 2015 21:35:50 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2015 21:35:50 +0000 Received: from [192.168.1.108] (c-67-188-8-167.hsd1.ca.comcast.net [67.188.8.167]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 19D891A0044; Fri, 20 Nov 2015 21:35:48 +0000 (UTC) User-Agent: Microsoft-MacOutlook/14.5.8.151023 Date: Fri, 20 Nov 2015 13:35:48 -0800 Subject: Re: How to capture query log and duration From: Gopal Vijayaraghavan Sender: Gopal Vijayaraghavan To: "user@hive.apache.org" CC: Rajit Saha Message-ID: Thread-Topic: How to capture query log and duration References: <8889A99F-0DC2-40A1-9BC5-8760399976A4@lendingclub.com> In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit >Can you please also let me know what argument list this script want . > >I was trying following in HDP Sandbox , but did not get JSON outout The JSON output is saved into a .zip file, if you hit ^C. > https://gist.github.com/t3rmin4t0r/e4bf835f10271b9e466e Look for a file named atsdump*.zip Cheers, Gopal