Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5350

Ambari should set "hive.optimize.bucketmapjoin.sortedmerge=false" in hive-site.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • ambari-server
    • None

    Description

      Without the following property:

        <property>
          <name>hive.optimize.bucketmapjoin.sortedmerge</name>
          <value>false</value>
        </property>
      

      Hive/HiveServer2 E2E test Join_10 fails with the following error:

      >>>  insert overwrite table join_10_3 select registration from join_10_1 s join join_10_2 v on (s.name=v.name);
      Error: Error while compiling statement: FAILED: SemanticException [Error 10135]: Sort merge bucketed join could not be performed. If you really want to perform the operation, either set hive.optimize.bucketmapjoin.sortedmerge=false, or set hive.enforce.sortmergebucketmapjoin=false. (state=42000,code=10135)
      

      Attachments

        1. AMBARI-5350.patch
          2 kB
          Dmitry Lysnichenko

        Activity

          People

            dmitriusan Dmitry Lysnichenko
            dmitriusan Dmitry Lysnichenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: