Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8849

IllegalStateException in HashJoinNode because of missing memory estimate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 3.3.0
    • Fix Version/s: Impala 3.3.0
    • Component/s: Frontend
    • Labels:
      None

      Description

      Greg Rahn reports the below error when running the attached TPC-DS query on uncompressed text with stats.

      I0808 03:27:16.621085 150090 jni-util.cc:288] 8945e9f76f33dca0:8bf31c4700000000] java.lang.IllegalStateException: Mem estimate must be set
          at com.google.common.base.Preconditions.checkState(Preconditions.java:149)
          at org.apache.impala.planner.ResourceProfileBuilder.build(ResourceProfileBuilder.java:73)
          at org.apache.impala.planner.HashJoinNode.computeNodeResourceProfile(HashJoinNode.java:252)
          at org.apache.impala.planner.PlanFragment.computeResourceProfile(PlanFragment.java:238)
          at org.apache.impala.planner.Planner.computeResourceReqs(Planner.java:416)
          at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1162)
          at org.apache.impala.service.Frontend.getPlannedExecRequest(Frontend.java:1477)
          at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1341)
          at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1236)
          at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1206)
          at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:154)
      I0808 03:27:16.621861 150090 status.cc:124] 8945e9f76f33dca0:8bf31c4700000000] IllegalStateException: Mem estimate must be set
          @           0xb9af99
          @          0x11f785e
          @          0x10ab9a3
          @          0x10d0f54
          @          0x10e2a2c
          @          0x1125f8d
          @          0x1458c54
          @          0x145810c
          @           0xb68769
          @           0xf91ca0
          @           0xf8791e
          @           0xf887b1
          @          0x127cd2f
          @          0x127d8d9
          @          0x1ac0709
          @     0x7f11ea4d7dd4
          @     0x7f11e6f1e02c
      

        Attachments

        1. query4.sql
          4 kB
          Tim Armstrong

          Issue Links

            Activity

              People

              • Assignee:
                tarmstrong Tim Armstrong
                Reporter:
                tarmstrong Tim Armstrong
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: