Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2472

Extra whitespace in mapred.child.java.opts breaks JVM initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.2, 0.22.0
    • 0.22.0
    • task-controller
    • None
    • Reviewed

    Description

      When creating taskjvm.sh, we split mapred.child.java.opts on " " and then create a quoted argument for each of those results. So, if you have an extra space anywhere in this configuration, you get an argument '' in the child command line, which the JVM interprets as an empty class name. This results in a ClassNotFoundException and the task cannot run.

      Attachments

        1. mapreduce-2472.1.patch
          4 kB
          Aaron Myers
        2. mapreduce-2472.0.patch
          4 kB
          Aaron Myers

        Activity

          People

            atm Aaron Myers
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: