hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "terry zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6446) Replication source will throw EOF exception when hlog size is 0
Date Tue, 24 Jul 2012 10:24:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421310#comment-13421310
] 

terry zhang commented on HBASE-6446:
------------------------------------

[]$ hadoop dfs -ls /hbase-73/.logs/dw73.kgb.sqa.cm4,60020,1343114427581
Found 3 items
rw-rr- 3 wuting supergroup 578 2012-07-24 15:20 /hbase-73/.logs/dw73.kgb.sqa.cm4,60020,1343114427581/dw73.kgb.sqa.cm4%2C60020%2C1343114427581.1343114427921
rw-rr- 3 wuting supergroup 399 2012-07-24 15:20 /hbase-73/.logs/dw73.kgb.sqa.cm4,60020,1343114427581/dw73.kgb.sqa.cm4%2C60020%2C1343114427581.1343114433385
{color:red} 
rw-rr- 3 wuting supergroup 0 2012-07-24 15:20 /hbase-73/.logs/dw73.kgb.sqa.cm4,60020,1343114427581/dw73.kgb.sqa.cm4%2C60020%2C1343114427581.1343114434732
{color} 
2012-07-24 15:24:55,516 DEBUG org.apache.hadoop.hbase.replication.regionserver.ReplicationSource:
Opening log for replication dw73.kgb.sqa.cm4%2C60020%2C1343114427581.1343114434732 at 0
2012-07-24 15:24:55,521 WARN org.apache.hadoop.hbase.replication.regionserver.ReplicationSource:
1 Got: 
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:180)
at java.io.DataInputStream.readFully(DataInputStream.java:152)
at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1465)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1437)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1424)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1419)
at org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader$WALReader.<init>(SequenceFileLogReader.java:55)
at org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader.init(SequenceFileLogReader.java:175)
at org.apache.hadoop.hbase.regionserver.wal.HLog.getReader(HLog.java:721)
at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.openReader(ReplicationSource.java:475)
at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:286)
                
> Replication source will throw EOF exception when hlog size is 0
> ---------------------------------------------------------------
>
>                 Key: HBASE-6446
>                 URL: https://issues.apache.org/jira/browse/HBASE-6446
>             Project: HBase
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.94.0
>            Reporter: terry zhang
>
> when master cluster startup new hlog which size is 0 will be created. if we start replication,
replication source will print many EOF exception when openreader. I think we need to ignore
this case and do not print so many exception warning log .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message