Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 8FBCC9C4E for ; Tue, 25 Oct 2011 12:36:52 +0000 (UTC) Received: (qmail 22637 invoked by uid 500); 25 Oct 2011 12:36:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 22601 invoked by uid 500); 25 Oct 2011 12:36:52 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 22593 invoked by uid 99); 25 Oct 2011 12:36:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 12:36:52 +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; Tue, 25 Oct 2011 12:36:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 61C3731A0BB for ; Tue, 25 Oct 2011 12:34:32 +0000 (UTC) Date: Tue, 25 Oct 2011 12:34:32 +0000 (UTC) From: "Kihwal Lee (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <258872813.13030.1319546072401.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <737298263.776.1314751509830.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled 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/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134978#comment-13134978 ] Kihwal Lee commented on MAPREDUCE-2915: --------------------------------------- Sorry, I misread the code in trunk/0.23. They do have a similar problem. MAPREDUCE-3259 has been filed. > LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled > ---------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2915 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task-controller > Affects Versions: 0.20.205.0 > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Fix For: 0.20.205.0 > > Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt > > > When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures. > JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set. > The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira