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

ScriptOperator still times out

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

              • Assignee:
                zshao Zheng Shao
                Reporter:
                zshao Zheng Shao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: