[
https://issues.apache.org/jira/browse/HBASE-24691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152437#comment-17152437
]
Guanghao Zhang commented on HBASE-24691:
----------------------------------------
{code:java}
2020-07-07 09:17:39,962 INFO [Time-limited test]
regionserver.ReplicationSourceWALReader(115): peerClusterZnode=null,
ReplicationSourceWALReaderThread : null inited,
replicationBatchSizeCapacity=67108864, replicationBatchCountCapacity=10,
replicationBatchQueueCapacity=1
2020-07-07 09:17:39,978 DEBUG [Thread-196] regionserver.WALEntryStream(251):
Reached the end of log
hdfs://localhost:44204/home/hao/open_source/hbase/hbase-server/target/test-data/3ee454c8-b764-b7c1-6312-9819838ebf2a/WALs/testReplicationSourceWALReaderRecovered/testReplicationSourceWALReaderRecovered.1594084659042
Exception in thread "Thread-196" java.lang.NullPointerException
at
org.apache.hadoop.hbase.regionserver.wal.AsyncProtobufLogWriter.getSyncedLength(AsyncProtobufLogWriter.java:237)
at
org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL.getLogFileSizeIfBeingWritten(AbstractFSWAL.java:1017)
at
org.apache.hadoop.hbase.replication.regionserver.WALEntryStream.readNextEntryAndRecordReaderPosition(WALEntryStream.java:264)
at
org.apache.hadoop.hbase.replication.regionserver.WALEntryStream.tryAdvanceEntry(WALEntryStream.java:188)
at
org.apache.hadoop.hbase.replication.regionserver.WALEntryStream.hasNext(WALEntryStream.java:101)
at
org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReader.readWALEntries(ReplicationSourceWALReader.java:192)
at
org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReader.run(ReplicationSourceWALReader.java:138)
2020-07-07 09:30:30,177 DEBUG [Time-limited test] wal.AbstractFSWAL(858): Moved
2 WAL file(s) to
/home/hao/open_source/hbase/hbase-server/target/test-data/3ee454c8-b764-b7c1-6312-9819838ebf2a/oldWALs
{code}
Got NPE and the thread terminated.
> Fix flaky TestWALEntryStream
> ----------------------------
>
> Key: HBASE-24691
> URL: https://issues.apache.org/jira/browse/HBASE-24691
> Project: HBase
> Issue Type: Sub-task
> Reporter: Guanghao Zhang
> Assignee: Guanghao Zhang
> Priority: Major
>
> [https://builds.apache.org/view/H-L/view/HBase/job/HBase-Find-Flaky-Tests/job/branch-2.2/lastSuccessfulBuild/artifact/dashboard.html]
>
> Failed 100.0% (13 / 13) recently.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)