Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E16176B3 for ; Fri, 14 Oct 2011 21:54:37 +0000 (UTC) Received: (qmail 52929 invoked by uid 500); 14 Oct 2011 21:54:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52876 invoked by uid 500); 14 Oct 2011 21:54:36 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 52860 invoked by uid 500); 14 Oct 2011 21:54:36 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 52856 invoked by uid 99); 14 Oct 2011 21:54:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:54:36 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:54:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D43BD30862F for ; Fri, 14 Oct 2011 21:54:12 +0000 (UTC) Date: Fri, 14 Oct 2011 21:54:12 +0000 (UTC) From: =?utf-8?Q?Robert_Sur=C3=B3wka_=28Commented=29_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: <1581364553.15722.1318629252871.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2039267715.4077.1318408271914.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2500) Allow Hive to be debugged remotely MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2500?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13127= 896#comment-13127896 ]=20 Robert Sur=C3=B3wka commented on HIVE-2500: -------------------------------------- Apparently this diff is still wrong (I will have to do small fix to MapRedu= ceTask.java, when debug off, it will add just one if check for a key being = in a map per execute() call of that task, and only if new JVM is about to b= e started). As I am working on it I plan to add following features: -user could specify port on which Hive JVM will wait (8000 will be default)= . -user could specify whether child JVMs should be also started in debug mode= (default: not). If started in debug mode, child JVMs will wait on a differ= ent ports than parent (and I will try to make it in such a way, so probabil= ity of ports collision would be very small (to make it impossible one would= need to use some between process communication, since children can start t= heir own children, and I don't want to do that yet (especially that HIVE ma= y be deployed on various os-es). User will know on which port new JVMs are = waiting, since upon start they print that information. New JVMs will be sta= rted on ports higher than port of the initial JVM - so if someone needs, he= can set initial port to be higher than any other already used TCP port).= =20 ETA: by mid of next week (hopefully) =20 > Allow Hive to be debugged remotely > ---------------------------------- > > Key: HIVE-2500 > URL: https://issues.apache.org/jira/browse/HIVE-2500 > Project: Hive > Issue Type: New Feature > Reporter: Robert Sur=C3=B3wka > Assignee: Robert Sur=C3=B3wka > Priority: Minor > Attachments: HIVE-2500.1.patch, HIVE-2500.2.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira