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

WebHCat controller job exceeds container memory limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • WebHCat
    • None

    Description

      Submit a Hive query on a large table via WebHCat results in failure because the WebHCat controller job is killed by Yarn since it exceeds the memory limit (set by mapreduce.map.memory.mb, defaults to 1GB):

       INSERT OVERWRITE TABLE Temp_InjusticeEvents_2014_03_01_00_00 SELECT * from Stage_InjusticeEvents where LogTimestamp > '2014-03-01 00:00:00' and LogTimestamp <= '2014-03-01 01:00:00';
      

      We could increase mapreduce.map.memory.mb to solve this problem, but this way we are changing this setting system wise.

      We need to provide a WebHCat configuration to overwrite mapreduce.map.memory.mb when submitting the controller job.

      Attachments

        1. HIVE-7155.1.patch
          5 kB
          shanyu zhao
        2. HIVE-7155.2.patch
          5 kB
          shanyu zhao
        3. HIVE-7155.patch
          5 kB
          shanyu zhao

        Issue Links

          Activity

            People

              shanyu shanyu zhao
              shanyu shanyu zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: