ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 40970: Increase tez.counters.max to 5000
Date Fri, 04 Dec 2015 14:30:37 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40970/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-14215
    https://issues.apache.org/jira/browse/AMBARI-14215


Repository: ambari


Description
-------

Currently TPCDS query 64 fails with the following error:

    
    
    2015-12-02 04:21:22,749 [ERROR] [Dispatcher thread {Central}] |common.AsyncDispatcher|:
Error in dispatcher thread
    org.apache.tez.common.counters.LimitExceededException: Too many counters: 2001 max=2000
    	at org.apache.tez.common.counters.Limits.checkCounters(Limits.java:88)
    	at org.apache.tez.common.counters.Limits.incrCounters(Limits.java:95)
    	at org.apache.tez.common.counters.AbstractCounterGroup.addCounter(AbstractCounterGroup.java:76)
    	at org.apache.tez.common.counters.AbstractCounterGroup.addCounterImpl(AbstractCounterGroup.java:93)
    	at org.apache.tez.common.counters.AbstractCounterGroup.findCounter(AbstractCounterGroup.java:104)
    	at org.apache.tez.common.counters.AbstractCounterGroup.incrAllCounters(AbstractCounterGroup.java:199)
    	at org.apache.tez.common.counters.AbstractCounters.incrAllCounters(AbstractCounters.java:363)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.incrTaskCounters(DAGImpl.java:772)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.getAllCounters(DAGImpl.java:721)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.logJobHistoryFinishedEvent(DAGImpl.java:1254)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.finished(DAGImpl.java:1398)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.commitOrFinish(DAGImpl.java:1166)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.checkVerticesForCompletion(DAGImpl.java:1310)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl$VertexCompletedTransition.transition(DAGImpl.java:2023)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl$VertexCompletedTransition.transition(DAGImpl.java:1978)
    	at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:385)
    	at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:302)
    	at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:46)
    	at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:448)
    	at org.apache.tez.state.StateMachineTez.doTransition(StateMachineTez.java:57)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.handle(DAGImpl.java:1200)
    	at org.apache.tez.dag.app.dag.impl.DAGImpl.handle(DAGImpl.java:144)
    	at org.apache.tez.dag.app.DAGAppMaster$DagEventDispatcher.handle(DAGAppMaster.java:1911)
    	at org.apache.tez.dag.app.DAGAppMaster$DagEventDispatcher.handle(DAGAppMaster.java:1902)
    	at org.apache.tez.common.AsyncDispatcher.dispatch(AsyncDispatcher.java:183)
    	at org.apache.tez.common.AsyncDispatcher$1.run(AsyncDispatcher.java:114)
    	at java.lang.Thread.run(Thread.java:745)
    

To fix these type of issues we should increase the value of `tez.counters.max`
to 5000 in tez-site.xml.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.2/services/TEZ/configuration/tez-site.xml
813e535 

Diff: https://reviews.apache.org/r/40970/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message