Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3939

Remove performance hit of precondition check in AM for register running task attempt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2, 0.10.0
    • None
    • None
    • Reviewed

    Description

         java.lang.Thread.State: RUNNABLE
              at org.apache.tez.dag.records.TezTaskID.appendTo(TezTaskID.java:118)
              at org.apache.tez.dag.records.TezTaskAttemptID.appendTo(TezTaskAttemptID.java:97)
              at org.apache.tez.dag.records.TezTaskAttemptID.toString(TezTaskAttemptID.java:119)
              at java.lang.String.valueOf(String.java:2994)
              at java.lang.StringBuilder.append(StringBuilder.java:131)
              at org.apache.tez.dag.app.TezTaskCommunicatorImpl.registerRunningTaskAttempt(TezTaskCommunicatorImpl.java:225)
              at org.apache.tez.dag.app.TaskCommunicatorWrapper.registerRunningTaskAttempt(TaskCommunicatorWrapper.java:56)
              at org.apache.tez.dag.app.TaskCommunicatorManager.registerTaskAttempt(TaskCommunicatorManager.java:565)
              at org.apache.tez.dag.app.rm.container.AMContainerImpl.registerAttemptWithListener(AMContainerImpl.java:1184)
              at org.apache.tez.dag.app.rm.container.AMContainerImpl$AssignTaskAttemptTransition.transition(AMContainerImpl.java:656)
              at org.apache.tez.dag.app.rm.container.AMContainerImpl$AssignTaskAttemptTransition.transition(AMContainerImpl.java:595)
              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)
              - locked <0x000000079b9161f8> (a org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine)
              at org.apache.tez.state.StateMachineTez.doTransition(StateMachineTez.java:59)
              at org.apache.tez.dag.app.rm.container.AMContainerImpl.handle(AMContainerImpl.java:441)
              at org.apache.tez.dag.app.rm.container.AMContainerImpl.handle(AMContainerImpl.java:78)
              at org.apache.tez.dag.app.rm.container.AMContainerMap.handle(AMContainerMap.java:68)
              at org.apache.tez.dag.app.rm.container.AMContainerMap.handle(AMContainerMap.java:40)
              at org.apache.tez.common.AsyncDispatcher.dispatch(AsyncDispatcher.java:180)
              at org.apache.tez.common.AsyncDispatcher$1.run(AsyncDispatcher.java:115)
              at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. TEZ-3939.001.patch
          1 kB
          Jonathan Turner Eagles
        2. TEZ-3939.002.patch
          1.0 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: