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

Guava conflicts with Hadoop 2.2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • None
    • None

    Description

      After upgrading tez to the current HEAD, I found my jobs fail in my Hadoop 2.2 cluster with the following error-

      2014-01-31 20:59:31,123 FATAL [AsyncDispatcher event handler] org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
      java.lang.NoSuchMethodError: com.google.common.collect.Range.closedOpen(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;
      	at org.apache.tez.runtime.api.events.CompositeDataMovementEvent.getEvents(CompositeDataMovementEvent.java:87)
      	at org.apache.tez.dag.app.dag.impl.Edge.handleCompositeDataMovementEvent(Edge.java:236)
      	at org.apache.tez.dag.app.dag.impl.Edge.sendTezEventToDestinationTasks(Edge.java:248)
      	at org.apache.tez.dag.app.dag.impl.VertexImpl$RouteEventTransition.transition(VertexImpl.java:2022)
      	at org.apache.tez.dag.app.dag.impl.VertexImpl$RouteEventTransition.transition(VertexImpl.java:1976)
      	at org.apache.hadoop.yarn.state.StateMachineFactory$SingleInternalArc.doTransition(StateMachineFactory.java:362)
      	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.dag.app.dag.impl.VertexImpl.handle(VertexImpl.java:955)
      	at org.apache.tez.dag.app.dag.impl.VertexImpl.handle(VertexImpl.java:143)
      	at org.apache.tez.dag.app.DAGAppMaster$VertexEventDispatcher.handle(DAGAppMaster.java:1354)
      	at org.apache.tez.dag.app.DAGAppMaster$VertexEventDispatcher.handle(DAGAppMaster.java:1340)
      	at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:134)
      	at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:81)
      	at java.lang.Thread.run(Thread.java:744)
      

      I believe that TEZ-646 bumped guava version to 0.15, and that causes conflicts with the guava version that Hadoop 2.2 depends on. This is troublesome to me since I am planning to deploy tez on Hadoop 2.2 cluster, so is it possible to avoid this conflict?

      Attachments

        1. Logs for container_1391144879454_0052_01_000001.html
          1.26 MB
          Cheolsoo Park
        2. syslog
          52 kB
          Daniel Dai
        3. TEZ-787.1.txt
          6 kB
          Siddharth Seth

        Activity

          People

            sseth Siddharth Seth
            cheolsoo Cheolsoo Park
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: