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 49FEF9942 for ; Mon, 18 Jun 2012 05:01:45 +0000 (UTC) Received: (qmail 33068 invoked by uid 500); 18 Jun 2012 05:01:45 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 32985 invoked by uid 500); 18 Jun 2012 05:01:44 -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 32969 invoked by uid 500); 18 Jun 2012 05:01:44 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 32945 invoked by uid 99); 18 Jun 2012 05:01:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 05:01:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BA9301427F2 for ; Mon, 18 Jun 2012 05:01:43 +0000 (UTC) Date: Mon, 18 Jun 2012 05:01:43 +0000 (UTC) From: "Kanna Karanam (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1295286865.23753.1339995703766.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1217030246.13332.1339610022619.JavaMail.jiratomcat@issues-vm> Subject: =?utf-8?Q?[jira]_[Commented]_(HIVE-3127)_Don=E2=80=99t?= =?utf-8?Q?_pass=E2=80=93hconf_values_as_command_line_ar?= =?utf-8?Q?guments_to_child_JVM_to_avoid_command?= =?utf-8?Q?_line_exceeding_char_limit_on_windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3127?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13393= 667#comment-13393667 ]=20 Kanna Karanam commented on HIVE-3127: ------------------------------------- Thanks Edward, I thought of removing the arguments option completely, but I= felt that it can introduce a small perf hit on Linux unnecessarily as we a= re creating/deleting a temp files for every task execution. If we feel that= this perf hit is negligible then I will remove the arguments option. Thanks =20 > Don=E2=80=99t pass=E2=80=93hconf values as command line arguments to chil= d JVM to avoid command line exceeding char limit on windows > -------------------------------------------------------------------------= ------------------------------------------- > > Key: HIVE-3127 > URL: https://issues.apache.org/jira/browse/HIVE-3127 > Project: Hive > Issue Type: Bug > Components: Configuration, Windows > Affects Versions: 0.9.0, 0.10.0, 0.9.1 > Reporter: Kanna Karanam > Labels: Windows > Fix For: 0.10.0 > > Attachments: HIVE-3127.1.patch.txt > > > The maximum length of the DOS command string is 8191 characters (in Windo= ws latest versions http://support.microsoft.com/kb/830473). This limit will= be exceeded easily when it appends individual =E2=80=93hconf values to the= command string. To work around this problem, Write all changed hconf value= s to a temp file and pass the temp file path to the child jvm to read and i= nitialize the -hconf parameters from file. -- 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