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

Submitting streaming job is not thread safe

    XMLWordPrintableJSON

Details

    Description

      The submission of the streaming job is not thread safe.
      That is because the class StreamJob is using the OptionBuilder which is itself not thread safe.

      This can cause super tricky bugs.

      An easy fix would be to simply create instances of Option through the normal constructor and decorate the object if necessary.

      This fix should be applied on the functions createOption and createBoolOption.

      Attachments

        1. MAPREDUCE-6467.001.patch
          5 kB
          Ivo Udelsmann

        Activity

          People

            iudelsmann Ivo Udelsmann
            jeremie.simon jeremie simon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: