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 33BADC13 for ; Fri, 6 Jul 2012 00:19:54 +0000 (UTC) Received: (qmail 96931 invoked by uid 500); 6 Jul 2012 00:19:53 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 96889 invoked by uid 500); 6 Jul 2012 00:19:53 -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 96881 invoked by uid 99); 6 Jul 2012 00:19:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 00:19:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.48] (HELO mail-pb0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 00:19:44 +0000 Received: by pbbrq8 with SMTP id rq8so15973433pbb.35 for ; Thu, 05 Jul 2012 17:19:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=HCZIfKQCD50WLurNxVaQm+mGEg4RJfmwXw4KJbTJtWE=; b=j0o+7pnm32zuM+qcr/lGCI3Z9yGDOUSPb5Cto1IwvOn8tvRevYbvxWrZVGbFj9e1dW is7Czgx+vUojcR2W0fBxH7b7fx1wS3VP2sX2rUqZKQ0vl0Nl5QGndmcRQJBg4RzREyo5 u+UXF+/nBG06I72ffJ2gq+3kRmRdCEINNubb/qJ33+Ug0SWpdw3/Rrj9dhTluztTLHAm tHUlf6Y1W5lwoOJSy8GW1KHH/efsea+xNQA4vM+3v1ukjFJQ3YsacS+n/GseXRoGDM88 Jt2b1z2EXc97F9gBmt3U5UPO8Z4+Ypjc+a+c0cF96/i1Bwv9MxzVvayH4IKAuQFeCxgE NwxQ== MIME-Version: 1.0 Received: by 10.68.225.9 with SMTP id rg9mr31972784pbc.137.1341533961555; Thu, 05 Jul 2012 17:19:21 -0700 (PDT) Received: by 10.68.213.132 with HTTP; Thu, 5 Jul 2012 17:19:21 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Jul 2012 09:19:21 +0900 Message-ID: Subject: Re: Pulling off server's debug info to Client From: =?EUC-KR?B?TmF2aXO3+b3Cv+w=?= To: user@hive.apache.org Content-Type: multipart/alternative; boundary=047d7b2ee18b3b8feb04c41e3720 X-Gm-Message-State: ALoCoQkI4A0JDA+LNa8gNQ2aIDB64h8xtp9NGFOz4Nwo2RRimyf/YtkzKcXCDsqFR55fn1fBkj67 --047d7b2ee18b3b8feb04c41e3720 Content-Type: text/plain; charset=ISO-8859-1 I've modified hive to notify jobId for monitoring purpose. Check the issue and vote for acceptance ^^ https://issues.apache.org/jira/browse/HIVE-3235 2012/7/6 VanHuy Pham > Hi all, > I have been interested in getting the debug information and display it > to clients. > Specifically, when you submit a job to hive cli (on terminal say you > write "select * from somewhere ...) or through a thrift server, you will > see they hive displays some debug information on the screen (See below) > > How I can I get this "live" information to the client while the > job is running so the client can see the stages of the job and how it > is going, see if the job gets killed, or fails... I am using thrift > server, and see this information on the thrift server's terminal and > wonder if I can transfer this info to thrift client. Or if it's > impossible to transfer this info to thrift client, how would one > direct this debug info somewhere to local file or mysql then the > information can be read from there? > > Any ideas? > Thanks > > > > ------------------------------------------------------ > Total MapReduce jobs = 1 > Launching Job 1 out of 1 > Number of reduce tasks is set to 0 since there's no reduce operator > ---> getPaths = XXXXXXXXXXXX > Starting Job = XXXXXXXXXXXXXX, Tracking URL = XXXXXXXXXXXXXXXXXX > Kill Command = XXXXXXXXXXXXXXXXXXXX > Hadoop job information for Stage-1: number of mappers: 505; number of > reducers: 0 > 2012-07-04 01:52:42,145 Stage-1 map = 0%, reduce = 0% > 2012-07-04 01:52:48,185 Stage-1 map = 5%, reduce = 0%, Cumulative CPU > 42.92 sec > 2012-07-04 01:52:49,196 Stage-1 map = 26%, reduce = 0%, Cumulative > CPU 213.03 sec > --047d7b2ee18b3b8feb04c41e3720 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've modified hive to notify jobId for monitoring purpose. Check the is= sue and vote for acceptance ^^

https://issues.apache.org/jira/browse/HI= VE-3235

2012/7/6 VanHuy Pham <<= a href=3D"mailto:huy.pham.sc@gmail.com" target=3D"_blank">huy.pham.sc@gmail= .com>
Hi all,
=A0 =A0 I have been interested in getting the debug information and display= it
to clients.
=A0 =A0 Specifically, when you submit a job to hive cli (on terminal say yo= u
write "select * from somewhere ...) or through a thrift server, you wi= ll
see they hive displays some debug information on the screen (See below)

=A0 =A0 How I can I get this "live" information to the client whi= le the
job is running so the client can see the stages of the job and how it
is going, see if the job gets killed, or fails... I am using thrift
server, and see this information on the thrift server's terminal and wonder if I can transfer this info to thrift client. Or if it's
impossible to transfer this info to thrift client, how would one
direct this debug info somewhere to local file or mysql then the
information can be read from there?

Any ideas?
Thanks



------------------------------------------------------
Total MapReduce jobs =3D 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
---> getPaths =3D XXXXXXXXXXXX
Starting Job =3D XXXXXXXXXXXXXX, Tracking URL =3D XXXXXXXXXXXXXXXXXX
Kill Command =3D XXXXXXXXXXXXXXXXXXXX
Hadoop job information for Stage-1: number of mappers: 505; number of
reducers: 0
2012-07-04 01:52:42,145 Stage-1 map =3D 0%, =A0reduce =3D 0%
2012-07-04 01:52:48,185 Stage-1 map =3D 5%, =A0reduce =3D 0%, Cumulative CP= U 42.92 sec
2012-07-04 01:52:49,196 Stage-1 map =3D 26%, =A0reduce =3D 0%, Cumulative CPU 213.03 sec

--047d7b2ee18b3b8feb04c41e3720--