hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lei liu <liulei...@gmail.com>
Subject java.net.SocketTimeoutException: read(2) error: Resource temporarily unavailable
Date Mon, 07 Jul 2014 01:34:18 GMT
I use hbase-0.94 and hadoop-2.2, there is below exception:

2014-07-04 12:43:49,700 WARN org.apache.hadoop.hdfs.DFSClient: failed to
connect to
DomainSocket(fd=322,path=/home/hadoop/hadoop-current/cdh4-dn-socket/dn_socket)

java.net.SocketTimeoutException: read(2) error: Resource temporarily
unavailable

        at org.apache.hadoop.net.unix.DomainSocket.readArray0(Native Method)

        at
org.apache.hadoop.net.unix.DomainSocket.access$200(DomainSocket.java:47)

        at
org.apache.hadoop.net.unix.DomainSocket$DomainInputStream.read(DomainSocket.java:530)

        at java.io.FilterInputStream.read(FilterInputStream.java:66)

        at
org.apache.hadoop.hdfs.protocol.HdfsProtoUtil.vintPrefixed(HdfsProtoUtil.java:169)

        at
org.apache.hadoop.hdfs.BlockReaderFactory.newShortCircuitBlockReader(BlockReaderFactory.java:187)

        at
org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactory.java:104)

        at
org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:1060)

        at
org.apache.hadoop.hdfs.DFSInputStream.fetchBlockByteRange(DFSInputStream.java:898)

        at
org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:1148)

        at
org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:73)

        at
org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader.readAtOffset(HFileBlock.java:1388)

        at
org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockDataInternal(HFileBlock.java:1880)

        at
org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockData(HFileBlock.java:1723)

        at
org.apache.hadoop.hbase.io.hfile.HFileReaderV2.readBlock(HFileReaderV2.java:365)

        at
org.apache.hadoop.hbase.io.hfile.HFileReaderV2$AbstractScannerV2.readNextDataBlock(HFileReaderV2.java:633)

        at
org.apache.hadoop.hbase.io.hfile.HFileReaderV2$ScannerV2.next(HFileReaderV2.java:730)

        at
org.apache.hadoop.hbase.regionserver.StoreFileScanner.next(StoreFileScanner.java:128)



why does appear the exception "java.net.SocketTimeoutException: read(2)
error: Resource temporarily unavailable"?


 Thanks,
LiuLei

Mime
View raw message