You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2014/09/02 20:46:20 UTC

[jira] [Commented] (TEZ-1508) Log a warning if Xmx is configured incorrectly.

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

Hitesh Shah commented on TEZ-1508:
----------------------------------

[~jeagles] Also, should the check be changed from ">" to ">=" ? 

> Log a warning if Xmx is configured incorrectly. 
> ------------------------------------------------
>
>                 Key: TEZ-1508
>                 URL: https://issues.apache.org/jira/browse/TEZ-1508
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Jonathan Eagles
>              Labels: newbie
>         Attachments: TEZ-1508-v1.patch, TEZ-1508-v2.patch
>
>
> Users may incorrectly configure Xmx for tasks. Xmx should in most cases be less than the container/task size given that YARN will kill containers that exceed the memory limits. 
> Given that we already parse the java opts to detect Xmx in the java opts, it should be trivial to add a check if the value is valid and log a warning if not ( for both the Tez AM and the vertices in a DAG).  



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