You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Evgeny Rusak (JIRA)" <ji...@apache.org> on 2012/05/30 11:32:22 UTC
[jira] [Created] (HADOOP-8448) Java options being duplicated
several times
Evgeny Rusak created HADOOP-8448:
------------------------------------
Summary: Java options being duplicated several times
Key: HADOOP-8448
URL: https://issues.apache.org/jira/browse/HADOOP-8448
Project: Hadoop Common
Issue Type: Bug
Components: conf
Affects Versions: 1.0.2
Environment: VirtualBox 4.1.14 r77440
Linux slack 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz GenuineIntel GNU/Linux
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
Hadoop 1.0.2
Subversion https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0.2 -r 1304954 Compiled by hortonfo on Sat Mar 24 23:58:21 UTC 2012
>From source with checksum c198b04303cfa626a38e13154d2765a9
Hadoop is running under Pseudo-Distributed mode according to the http://hadoop.apache.org/common/docs/r1.0.3/single_node_setup.html#PseudoDistributed
Reporter: Evgeny Rusak
After adding the additional java option to the HADOOP_JOBTRACKER_OPTS like the following
export HADOOP_JOBTRACKER_OPTS="$HADOOP_JOBTRACKER_OPTS -Dxxx=yyy"
and starting the hadoop instance with start-all.sh, the option added is being attached several times according to the command
ps ax | grep jobtracker
which prints
.....
29824 ? Sl 22:29 home/hduser/apps/jdk/jdk1.7.0_04/bin/java -Dproc_jobtracker -XX:MaxPermSize=256m -Xmx600m -Dxxx=yyy -Dxxx=yyy
-Dxxx=yyy -Dxxx=yyy -Dxxx=yyy
-Dhadoop.log.dir=/home/hduser/apps/hadoop/hadoop-1.0.2/libexec/../logs
......
The aforementioned unexpected behaviour causes the severe issue while specifying "-agentpath:" option, because several duplicating agents being considered as different agents are trying to be instantiated several times at once.
--
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