Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3604

Oozie Luncher & Map-Reduce Action Complete Successfully However Oozie Still Fails the Action

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 5.1.0
    • 5.3.0
    • core
    • None
    • 5.1.0-cdh-6.3.1
      5.1.0-cdh-6.3.2

    Description

      I am using oozie 5.1.0-cdh6.3.1

      In my workflow I have a mapreduce action, which generates over 300 counters. The oozie launcher & the mapreduce job successfully complete, however, oozie reports that:

      Error Code: LimitExceededException
      
      LimitExceededException: Too many counters: 121 max=120
      

      I have updated mapred-site.xml.

      The log for the mapreduce job reports success, in fact I can see all the counters & the actual output of the mapreduce job on hdfs.

      In the oozie launcher log I can see:

      • mapreduce.job.counters.max : 8192
      • mapreduce.job.counters.groups.max : 100

      I set the oozie logs to TRACE, and I can see the following WARN:

      WARN org.apache.oozie.command.wf.ActionEndXCommand: SERVER[SERVER-NAME] USER[MY-NAME] GROUP[-] TOKEN[] APP[APP-NAME] JOB[0000012-200714223028181-oozie-oozi-W] ACTION[0000012-200714223028181-oozie-oozi-W@ACTION-NAME] Error ending action [ACTION-NAME]. ErrorType [ERROR], ErrorCode [LimitExceededException], Message [LimitExceededException: Too many counters: 121 max=120]
      
      WARN org.apache.oozie.command.wf.ActionEndXCommand: SERVER[SERVER-NAME] USER[MY-NAME] GROUP[-] TOKEN[] APP[APP-NAME] JOB[0000012-200714223028181-oozie-oozi-W] ACTION[0000012-200714223028181-oozie-oozi-W@ACTION-NAME] Setting Action Status to [ERROR]
      

      Looking through the oozie source code, I think the issue may be traced to line in MapReduceActionExecutor

      I am guessing that for some reason, the context or the config passed into the createJobClient lack the mapreduce.job.counters.max configuration.

      I tried several other things hoping that it would somehow work:

      • I added the mapreduce.job.counters.max as configuration into the action (inside the workflow)
      • I added the mapreduce.job.counters.max to action config default.xml

      Nothing has helped.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              houman houman babai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: