Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15EAAED2A for ; Tue, 5 Mar 2013 14:56:38 +0000 (UTC) Received: (qmail 8295 invoked by uid 500); 5 Mar 2013 14:56:33 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 7700 invoked by uid 500); 5 Mar 2013 14:56:32 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 7689 invoked by uid 99); 5 Mar 2013 14:56:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 14:56:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.122.43.157] (HELO datameer.com) (212.122.43.157) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 14:56:26 +0000 Received: from [192.168.178.208] (unknown [192.168.178.208]) by datameer.com (Postfix) with ESMTPSA id 22A2D28FFC48 for ; Tue, 5 Mar 2013 15:56:05 +0100 (CET) Subject: Re: Socket does not have a channel Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/alternative; boundary="Apple-Mail=_F6F6A70A-BE35-4195-A1AF-1DCC3B73D2DA" From: Subroto X-Priority: 3 In-Reply-To: Date: Tue, 5 Mar 2013 15:56:04 +0100 Message-Id: <54AB0EB7-E766-405E-BDD3-EAC92EA2BB42@datameer.com> References: To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_F6F6A70A-BE35-4195-A1AF-1DCC3B73D2DA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=gb18030 Hi Julian, This is from CDH4.1.2 and I think its based on Apache Hadoop 2.0. Cheers, Subroto Sanyal On Mar 5, 2013, at 3:50 PM, =C2=F4=B1=A8=B5=C4=D0=A1=D0=D0=BC=D2 wrote: > Hi, > Which revision of hadoop? > and what's the situation to report the Exception? > BRs//Julian >=20 > ------------------ Original ------------------ > From: "Subroto"; > Date: Tue, Mar 5, 2013 04:46 PM > To: "user"; > Subject: Socket does not have a channel >=20 > Hi >=20 > java.lang.IllegalStateException: Socket = Socket[addr=3D/10.86.203.112,port=3D1004,localport=3D35170] does not = have a channel > at = com.google.common.base.Preconditions.checkState(Preconditions.java:172) > at = org.apache.hadoop.net.SocketInputWrapper.getReadableByteChannel(SocketInpu= tWrapper.java:83) > at = org.apache.hadoop.hdfs.RemoteBlockReader2.newBlockReader(RemoteBlockReader= 2.java:432) > at = org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactor= y.java:82) > at = org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:8= 32) > at = org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:444)= >=20 > While accessing the HDFS I keep getting the above mentioned error. > Setting the dfs.client.use.legacy.blockreader to true fixes the = problem. > I would like to know what exactly is the problem? Is it a problem/bug = in hadoop ? > Is there is JIRA ticket for this?? >=20 >=20 > Cheers, > Subroto Sanyal --Apple-Mail=_F6F6A70A-BE35-4195-A1AF-1DCC3B73D2DA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=gb18030 Hi = Julian,

This is from = CDH4.1.2 and I think its based on Apache Hadoop 2.0.

Cheers,
Subroto = Sanyal
On Mar 5, 2013, at 3:50 PM, =C2=F4=B1=A8=B5=C4=D0=A1=D0= =D0=BC=D2 wrote:

Hi,
Which revision of = hadoop?
and  what's the  situation  to report = the Exception?
BRs//Julian

------------------ Original ------------------
From: =  "Subroto"<ssanyal@datameer.com>;
Date:  Tue, Mar 5, 2013 04:46 PM
To: =  "user"<user@hadoop.apache.org>; =
Subject:  Socket does not have a = channel

Hi

10.86.203.112,port=3D1004,localport=3D35170] does = not have a channel
at = com.google.common.base.Preconditions.checkState(Preconditions.java:172)
at = org.apache.hadoop.net.SocketInputWrapper.getReadableByteChannel(SocketInpu= tWrapper.java:83)
at = org.apache.hadoop.hdfs.RemoteBlockReader2.newBlockReader(RemoteBlockReader= 2.java:432)
at = org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactor= y.java:82)
at = org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:8= 32)
at = org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:444)=
While = accessing the HDFS  I keep getting the above mentioned = error.
Setting = the dfs.client.use.legacy.blockreader to true fixes the = problem.
I would = like to know what exactly is the problem? Is it a problem/bug in hadoop = ?
Is there is JIRA ticket for = this??


Subroto = Sanyal

= --Apple-Mail=_F6F6A70A-BE35-4195-A1AF-1DCC3B73D2DA--