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

ScriptOperator still times out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None
    • Reviewed

    Description

      The code is using exp_interval instead of exp_int in the "scheduleAtFxiedRate".

            Integer exp_interval = null;
            int exp_int;
            exp_interval = Integer.decode(hconf.get("mapred.tasktracker.expiry.interval"));
            if (exp_interval != null)
              exp_int = exp_interval.intValue() / 2;
            else
              exp_int = 300000;
      
            rpTimer = new Timer(true);
            rpTimer.scheduleAtFixedRate(new ReporterTask(reporter), 0, exp_interval);
      

      Attachments

        1. HIVE-690.1.patch
          1 kB
          Zheng Shao
        2. HIVE-690.2.patch
          5 kB
          Zheng Shao

        Issue Links

          Activity

            People

              zshao Zheng Shao
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: