Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8448

Java options being duplicated several times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.2
    • None
    • conf, scripts
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kasure Evgeny Rusak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: