You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/05/28 08:01:17 UTC

[jira] [Assigned] (TAJO-1629) Sleep() function does not work.

     [ https://issues.apache.org/jira/browse/TAJO-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jihoon Son reassigned TAJO-1629:
--------------------------------

    Assignee: Jihoon Son

> Sleep() function does not work.
> -------------------------------
>
>                 Key: TAJO-1629
>                 URL: https://issues.apache.org/jira/browse/TAJO-1629
>             Project: Tajo
>          Issue Type: Bug
>          Components: function/udf
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>            Priority: Minor
>             Fix For: 0.10.2
>
>
> Sleep() function only works well in unit tests.
> It seems that the following codes of Sleep() function make Tajo's task sleep.
> {code}
> ...
> public Datum eval(Tuple params) {
>     try {
>       Thread.sleep(params.getInt4(0) * 1000);
>     } catch (InterruptedException e) {
>       e.printStackTrace();
>     }
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)