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