hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-163) Retrieving container log via NM webapp can hang with multibyte characters in log
Date Sat, 20 Oct 2012 12:52:17 GMT

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

Hudson commented on YARN-163:
-----------------------------

Integrated in Hadoop-Hdfs-0.23-Build #410 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/410/])
    svn merge -c 1400189 FIXES: YARN-163. Retrieving container log via NM webapp can hang
with multibyte characters in log (jlowe via bobby) (Revision 1400191)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400191
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/webapp/ContainerLogsPage.java

                
> 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: 0.23.3, 2.0.0-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.5
>
>         Attachments: YARN-163.patch, YARN-163.patch
>
>
> 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

Mime
View raw message