Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4643DDA87 for ; Wed, 17 Oct 2012 00:50:03 +0000 (UTC) Received: (qmail 30266 invoked by uid 500); 17 Oct 2012 00:50:03 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 30159 invoked by uid 500); 17 Oct 2012 00:50:03 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 30115 invoked by uid 99); 17 Oct 2012 00:50:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 00:50:03 +0000 Date: Wed, 17 Oct 2012 00:50:03 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: <808026494.54927.1350435003094.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (YARN-163) Retrieving container log via NM webapp can hang with multibyte characters in log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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