Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 2260F10232 for ; Tue, 23 Jul 2013 19:45:19 +0000 (UTC) Received: (qmail 70384 invoked by uid 500); 23 Jul 2013 19:45:14 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 70258 invoked by uid 500); 23 Jul 2013 19:45:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 70160 invoked by uid 99); 23 Jul 2013 19:45:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 19:45:11 +0000 Date: Tue, 23 Jul 2013 19:45:09 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-358) bundle container classpath in temporary jar on all platforms, not just Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717526#comment-13717526 ] Chris Nauroth commented on YARN-358: ------------------------------------ Hi, [~ndimiduk]! I think you're primarily interested in being able to call {{FileUtil#createJarWithClassPath}}, right? The current status is that the method exists in trunk, branch-2, and merged through to branch-2.1.0-beta. There is also an earlier version of the method in branch-1-win, although this version doesn't correctly handle all of the edge cases that I discovered while getting YARN nodemanager to work on Windows. MAPREDUCE-4959 tracks backporting the fully functional trunk version to branch-1-win. YARN-358 is a different thing. This tracks removing a Windows conditional check so that nodemanager uses this classpath jar technique on all platforms, not just Windows. If I understand the situation correctly, then MAPREDUCE-4959 is the more appropriate jira for you to watch. If that sounds good to you, let me know, and I'll expand the scope of MAPREDUCE-4959 so that {{FileUtil#createJarWithClassPath}} goes to branch-1 too (not just branch-1-win). > bundle container classpath in temporary jar on all platforms, not just Windows > ------------------------------------------------------------------------------ > > Key: YARN-358 > URL: https://issues.apache.org/jira/browse/YARN-358 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: trunk-win > Reporter: Chris Nauroth > > Currently, a Windows-specific code path bundles the classpath into a temporary jar with a manifest to work around command line length limitations. This code path does not need to be Windows-specific. We can use the same approach on all platforms. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira