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

JAVA_OPTS for the TaskRunner Child

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0
    • conf
    • None

    Description

      Currently, its possible to set the java heap size the TaskRunner child runs in, but thats all thats configurable about the child process. Hereabouts, we've found it useful being able to specify other options for the child JVM, especially when debugging and monitoring long-lived processes.

      Examples of why its useful being able to set options are the child include:

      + Being able to set '-server' option or '-c64'.
      + Passing logging.properties to configure child logging.
      + Enable and capture to file verbose GC logging or start the SUN JVM JMX agent for the child process. Allows connecting with jconsole to watch long-lived children, their heap and thread usage, and when seemingly hung, take thread dumps.

      Attachments

        1. TaskRunner_child_javaopts.patch
          6 kB
          Michael Stack
        2. TaskRunner_child_javaopts-v2.patch
          7 kB
          Michael Stack

        Activity

          People

            Unassigned Unassigned
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: