Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1629

Sleep() function does not work.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.10.2
    • Component/s: Function/UDF
    • Labels:
      None

      Description

      Sleep() function only works well in unit tests.
      It seems that the following codes of Sleep() function make Tajo's task sleep.

      ...
      public Datum eval(Tuple params) {
          try {
            Thread.sleep(params.getInt4(0) * 1000);
          } catch (InterruptedException e) {
            e.printStackTrace();
          }
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              jihoonson Jihoon Son
              Reporter:
              jihoonson Jihoon Son
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: