You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by shandafu <sh...@yeah.net> on 2010/06/29 10:09:58 UTC

Exception closing file /hbase/.logs/**: java.io.EOFException

I get the following exception when running scanner in hbase:

2010-06-29 14:58:28,262 INFO org.apache.zookeeper.ClientCnxn: Closing
ClientCnxn for session: 0x29821273e10001
2010-06-29 14:58:28,269 INFO org.apache.zookeeper.ClientCnxn: Exception
while closing send thread for session 0x29821273e10001 : Read error rc = -1
java.nio.DirectByteBuffer[pos=0 lim=4 cap=4]
2010-06-29 14:58:28,401 INFO org.apache.zookeeper.ClientCnxn: Disconnecting
ClientCnxn for session: 0x29821273e10001
2010-06-29 14:58:28,402 INFO org.apache.zookeeper.ZooKeeper: Session:
0x29821273e10001 closed
2010-06-29 14:58:28,402 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Closed connection with
ZooKeeper
2010-06-29 14:58:28,403 ERROR org.apache.hadoop.hdfs.DFSClient: Exception
closing file
/hbase/.logs/datanode4,60020,1277787537136/hlog.dat.1277791138437 :
java.io.EOFException
java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:250)
	at org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:298)
	at org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:319)
	at org.apache.hadoop.io.Text.readString(Text.java:400)
	at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.createBlockOutputStream(DFSClient.java:2901)
	at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2826)
	at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
	at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
2010-06-29 14:58:28,405 INFO org.apache.zookeeper.ClientCnxn: EventThread
shut down
2010-06-29 14:58:28,507 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer:
regionserver/192.168.81.22:60020 exiting
2010-06-29 14:58:56,883 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
968531145256794644 lease expired
2010-06-29 14:58:56,888 INFO org.apache.hadoop.hbase.Leases:
regionserver/192.168.81.22:60020.leaseChecker closing leases
2010-06-29 14:58:56,888 INFO org.apache.hadoop.hbase.Leases:
regionserver/192.168.81.22:60020.leaseChecker closed leases
2010-06-29 14:58:56,907 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Starting shutdown
thread.
2010-06-29 14:58:56,907 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Shutdown thread complete

why?

thanks
-- 
View this message in context: http://old.nabble.com/Exception-closing-file--hbase-.logs-**%3A-java.io.EOFException-tp29021216p29021216.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.