Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8887

WikipediaPipeline TopNMapreduce (and others) fails under certain configurations

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CDAP Examples
    • Labels:
      None
    • Rank:
      1|hzzx5j:

      Description

      The WikipediaPipeline example sets mapreduce.map.memory.mb and mapreduce.reduce.memory.mb without considering other cluster configuration.

      If mapreduce.map.java.opts is set to use a heap larger than 512MB minus mapreduce.task.io.sort.mb, TopNMapreduce will fail. This is easy to duplicate.

      • mapreduce.task.io.sort.mb = 400
      • mapreduce.map.java.opts = -Xmx2048m
      • mapreduce.map.memory.mb = 2560

      As you can see, this is a valid configuration. However, TopNMapreduce sets mapreduce.map.memory.mb to 512 unconditionally, without adjusting mapreduce.map.java.opts or mapreduce.task.io.sort.mb to match.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                chris Chris Gianelloni
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: