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

Remove System.gc() call from the map-join local-task loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None
    • Remove System.gc() calls from HashMapWrapper::isAbort() to avoid slow-downs during local task of the map-join

    Description

      Hive's HashMapWrapper calls System.gc() twice within the HashMapWrapper::isAbort() which produces a significant slow-down during the loop.

      2013-03-01 04:54:28 The gc calls took 677 ms
      2013-03-01 04:54:28     Processing rows:        200000  Hashtable size: 199999  Memory usage:   62955432        rate:   0.033
      2013-03-01 04:54:31 The gc calls took 956 ms
      2013-03-01 04:54:31     Processing rows:        300000  Hashtable size: 299999  Memory usage:   90826656        rate:   0.048
      2013-03-01 04:54:33 The gc calls took 967 ms
      2013-03-01 04:54:33     Processing rows:        384160  Hashtable size: 384160  Memory usage:   114412712       rate:   0.06
      

      Attachments

        1. HIVE-4103.patch
          0.6 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: