[ 
https://issues.apache.org/jira/browse/TAJO-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14480921#comment-14480921
 ] 

ASF GitHub Bot commented on TAJO-1515:
--------------------------------------

GitHub user superpiggy opened a pull request:

    https://github.com/apache/tajo/pull/511

    TAJO-1515: task history file size limit

    It is possible to produce the exception described in this issue by 
inserting codes in TestHistoryWriterReader.java, but it seems unnecessary 
because the patch is quite trivial.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/superpiggy/tajo TAJO-1515

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/511.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #511
    
----
commit 964967c9ca44cb95d1c171221672bd73627ab670
Author: Yongjin Choi <[email protected]>
Date:   2015-04-06T04:15:36Z

    TAJO-1515: make query/task history max file size configurable

----


> task history file size limit
> ----------------------------
>
>                 Key: TAJO-1515
>                 URL: https://issues.apache.org/jira/browse/TAJO-1515
>             Project: Tajo
>          Issue Type: Bug
>          Components: web UI
>            Reporter: Jerryjung
>            Assignee: Yongjin Choi
>            Priority: Trivial
>
> If task history file size over 100MB, WebUI appears internal 500 error. The 
> value is hardcoding. IMO file size should assign property value. 
>     FileStatus fileStatus = fs.getFileStatus(detailFile);
>     if (fileStatus.getLen() > 100 * 1024 * 1024) {    // 100MB
>       throw new IOException("TaskHistory file is too big: " + detailFile + ", 
> " + fileStatus.getLen() + " bytes");
>     }



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

Reply via email to