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 C84B5DB63 for ; Mon, 22 Oct 2012 21:46:14 +0000 (UTC) Received: (qmail 64066 invoked by uid 500); 22 Oct 2012 21:46:14 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 64026 invoked by uid 500); 22 Oct 2012 21:46:14 -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 64017 invoked by uid 99); 22 Oct 2012 21:46:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 21:46:14 +0000 Date: Mon, 22 Oct 2012 21:46:14 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1348603255.12703.1350942374421.JavaMail.jiratomcat@arcas> In-Reply-To: <108185598.10716.1349729163621.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (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 updated HADOOP-8899: ------------------------------------ Resolution: Fixed Fix Version/s: 1-win Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Marking the jira as resolved as I had committed this patch sometime back. T= hank you Ahmed. =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 > Fix For: 1-win > > 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