Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11356

SMB join on tez fails when one of the tables is empty

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0, 2.0.0
    • None
    • None

    Description

      :java.lang.IllegalStateException: Unexpected event. All physical sources already initialized 
      at com.google.common.base.Preconditions.checkState(Preconditions.java:145) 
      at org.apache.tez.mapreduce.input.MultiMRInput.handleEvents(MultiMRInput.java:142) 
      at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.handleEvent(LogicalIOProcessorRuntimeTask.java:610) 
      at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.access$1100(LogicalIOProcessorRuntimeTask.java:90) 
      at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$1.run(LogicalIOProcessorRuntimeTask.java:673) 
      at java.lang.Thread.run(Thread.java:745) 
      ]], Vertex failed as one or more tasks failed. failedTasks:1, Vertex vertex_1437168420060_17787_1_01 [Map 4] killed/failed due to:null] 
      Vertex killed, vertexName=Reducer 5, vertexId=vertex_1437168420060_17787_1_02, diagnostics=[Vertex received Kill while in RUNNING state., Vertex killed as other vertex failed. failedTasks:0, Vertex vertex_1437168420060_17787_1_02 [Reducer 5] killed/failed due to:null] 
      DAG failed due to vertex failure. failedVertices:1 killedVertices:1 
      FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask 
      HQL-FAILED 
      

      Attachments

        1. HIVE-11356.1.patch
          0.6 kB
          Vikram Dixit K
        2. HIVE-11356.3.patch
          34 kB
          Vikram Dixit K
        3. HIVE-11356.4.patch
          41 kB
          Vikram Dixit K
        4. HIVE-11356.5.patch
          42 kB
          Vikram Dixit K
        5. HIVE-11356.6.patch
          42 kB
          Vikram Dixit K

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vikram.dixit Vikram Dixit K Assign to me
            vikram.dixit Vikram Dixit K
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment