You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2012/10/17 02:50:03 UTC

[jira] [Created] (YARN-163) Retrieving container log via NM webapp can hang with multibyte characters in log

Jason Lowe created YARN-163:
-------------------------------

             Summary: Retrieving container log via NM webapp can hang with multibyte characters in log
                 Key: YARN-163
                 URL: https://issues.apache.org/jira/browse/YARN-163
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.0.0-alpha, 0.23.3
            Reporter: Jason Lowe
            Assignee: Jason Lowe


ContainerLogsBlock.printLogs currently assumes that skipping N bytes in the log file is the same as skipping N characters, but that is not true when the log contains multibyte characters.  This can cause the loop that skips a portion of the log to try to skip past the end of the file and loop forever (or until Jetty kills the worker thread).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira