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 6CB6191B0 for ; Tue, 3 Apr 2012 18:18:53 +0000 (UTC) Received: (qmail 2591 invoked by uid 500); 3 Apr 2012 18:18:53 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 2545 invoked by uid 500); 3 Apr 2012 18:18:53 -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 2536 invoked by uid 99); 3 Apr 2012 18:18:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 18:18:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 03 Apr 2012 18:18: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 BCF4D356783 for ; Tue, 3 Apr 2012 18:18:31 +0000 (UTC) Date: Tue, 3 Apr 2012 18:18:31 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <572536745.7500.1333477111783.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <648046609.24742.1332872251126.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-4072) User set java.library.path seems to overwrite default creating problems native lib loading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245560#comment-13245560 ] Hudson commented on MAPREDUCE-4072: ----------------------------------- Integrated in Hadoop-Common-trunk-Commit #1981 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1981/]) MAPREDUCE-4072. User set java.library.path seems to overwrite default creating problems native lib loading (Anupam Seth via bobby) (Revision 1309077) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309077 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm > User set java.library.path seems to overwrite default creating problems native lib loading > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-4072 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4072 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Reporter: Anupam Seth > Assignee: Anupam Seth > Fix For: 0.23.3, 2.0.0 > > Attachments: MAPREDUCE-4072-branch-23.patch, MAPREDUCE-4072-branch-23_documentation.patch, MAPREDUCE-4072-branch-23_documentation.patch > > > This was found by Peeyush Bishnoi. > While running a distributed cache example with Hadoop-0.23, > tasks are failing as follows: > ------------------------------------------------------------------------------------------------------------ > Exception from container-launch: > org.apache.hadoop.util.Shell$ExitCodeException: at > org.apache.hadoop.util.Shell.runCommand(Shell.java:261) at > org.apache.hadoop.util.Shell.run(Shell.java:188) at > org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:381) at > org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:207) > at > org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:241) > at > org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:68) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at > java.util.concurrent.FutureTask.run(FutureTask.java:138) at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) main : command provided 1 main : user > is > ------------------------------------------------------------------------------------------------------------ > Same Pig script and command work successfully on 0.20 > See this in the stderr: > Exception in thread "main" java.lang.ExceptionInInitializerError > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at > org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:1179) > at > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1149) > at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1238) > at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1264) > at org.apache.hadoop.security.Groups.(Groups.java:54) > at > org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:178) > at > org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:252) > at > org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) > at > org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:265) > at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:75) > Caused by: java.lang.RuntimeException: Bailing out since native library > couldn't be loaded > at > org.apache.hadoop.security.JniBasedUnixGroupsMapping.(JniBasedUnixGroupsMapping.java:48) > ... 12 more > Pig command: > $ pig -Dmapred.job.queue.name= -Dmapred.cache.archives= -Dmapred.child.java.opts="-Djava.library.path=./ygeo/lib > -Dip2geo.preLoadLibraries=" -Djava.io.tmpdir=/grid/0/tmp -Dmapred.create.symlink=yes -Dmapred.job.map.memory.mb=3072 piggeoscript.pig -- 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