hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "卖报的小行家" <85469...@qq.com>
Subject Re:Socket does not have a channel
Date Tue, 05 Mar 2013 14:50:15 GMT
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


java.lang.IllegalStateException: Socket Socket[addr=/10.86.203.112,port=1004,localport=35170]
does not have a channel
	at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
	at org.apache.hadoop.net.SocketInputWrapper.getReadableByteChannel(SocketInputWrapper.java:83)
	at org.apache.hadoop.hdfs.RemoteBlockReader2.newBlockReader(RemoteBlockReader2.java:432)
	at org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactory.java:82)
	at org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:832)
	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?? 




Cheers,
Subroto Sanyal
Mime
View raw message