Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 654 invoked from network); 21 Dec 2009 21:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 21:27:47 -0000 Received: (qmail 92101 invoked by uid 500); 21 Dec 2009 21:27:47 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 92052 invoked by uid 500); 21 Dec 2009 21:27:47 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 92042 invoked by uid 99); 21 Dec 2009 21:27:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 21:27:47 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 21:27:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 41685234C495 for ; Mon, 21 Dec 2009 13:27:18 -0800 (PST) Message-ID: <1637104320.1261430838266.JavaMail.jira@brutus> Date: Mon, 21 Dec 2009 21:27:18 +0000 (UTC) From: "Zheng Shao (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-770) SocketTimeoutException: timeout while waiting for channel to be ready for read In-Reply-To: <1361034471.1258100319589.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793371#action_12793371 ] Zheng Shao commented on HDFS-770: --------------------------------- The new machine is running: "Linux hadoop0100.xxx.yyy.com 2.6.20-39_fbk #1 SMP Mon Mar 16 20:33:46 PDT 2009 x86_64 x86_64 x86_64 GNU/Linux" (uname -a) with 12 local disks. You can use the attached filewriter.cpp to see if your box has the problem mentioned above. > SocketTimeoutException: timeout while waiting for channel to be ready for read > ------------------------------------------------------------------------------ > > Key: HDFS-770 > URL: https://issues.apache.org/jira/browse/HDFS-770 > Project: Hadoop HDFS > Issue Type: Bug > Components: contrib/libhdfs, data-node, hdfs client, name-node > Affects Versions: 0.20.1 > Environment: Ubuntu Linux 8.04 > Reporter: Leon Mergen > Attachments: client.txt, datanode.txt, filewriter.cpp, namenode.txt > > > We're having issues with timeouts occurring in our client: for some reason, a timeout of 63000 milliseconds is triggered while writing HDFS data. Since we currently have a single-server setup, this results in our client terminating with a "All datanodes are bad" IOException. > We're running all services, including the client, on our single server, so it cannot be a network error. The load on the client is extremely low during this period: only a few kilobytes a minute were being written around the time the error occured. > After browsing a bit online, a lot of people talk about setting "dfs.datanode.socket.write.timeout" to 0 as a solution for this problem. Due to the low load of our system during this period, however, I do feel this is a real error and a timeout that should not be occurring. I have attached 3 logs of the namenode, datanode and client. > It could be that this is related to http://issues.apache.org/jira/browse/HDFS-693 > Any pointers on how I can assist to resolve this issue will be greatly appreciated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.