Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08D70D1DE for ; Fri, 19 Oct 2012 02:46:09 +0000 (UTC) Received: (qmail 86280 invoked by uid 500); 19 Oct 2012 02:46:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 86238 invoked by uid 500); 19 Oct 2012 02:46:07 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 85773 invoked by uid 99); 19 Oct 2012 02:46:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 02:46:03 +0000 Date: Fri, 19 Oct 2012 02:46:03 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1343807623.67309.1350614763917.JavaMail.jiratomcat@arcas> In-Reply-To: <108185598.10716.1349729163621.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (HADOOP-8899) Classpath exceeds maximum OS limit 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/HADOOP-8899?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas reassigned HADOOP-8899: --------------------------------------- Assignee: Ahmed El Baz Ahmed, I have added you a contributor to Hadoop Common. From now on you can= assign the jiras to yourself. =20 > Classpath exceeds maximum OS limit > ---------------------------------- > > Key: HADOOP-8899 > URL: https://issues.apache.org/jira/browse/HADOOP-8899 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 1-win > Reporter: Ahmed El Baz > Assignee: Ahmed El Baz > Attachments: HADOOP-8899.branch-1-win.classpath.patch > > > We hit errors in TT due to long classpath value. One example is Oozie try= ing to start a hive job, and it fails with the following error: > java.io.IOException: Command exceeds the OS command length limit: 8192, = command: "set CLASSPATH=3D"=E2=80=A6. > The classpath includes Hadoop Core + Hive Jars which are in the distribut= ed cache. This is causing the classpath to be too long giving the error abo= ve. A viable long term fix is to generate a temporary JAR file in the task = cache directory which includes all elements in the long classpath, and then= provide this as the "-classpath" argument for the JVM to be spawned. This = is gated for Windows only. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira