Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2472

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: task-controller
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Aaron T. Myers
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development