[ https://issues.apache.org/jira/browse/PHOENIX-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344469#comment-16344469 ]
Sergey Soldatov commented on PHOENIX-4482: ------------------------------------------ We are using FSHLog only to set retry count. So it can be wrapped by whether wal produced by wal factory is an instance of FSHLog and set it only in this case. Possible for asyncFSWAL we need to set something similar (my knowledge about asyncfswal is quite limited). > Fix WALReplayWithIndexWritesAndCompressedWALIT failing with ClassCastException > ------------------------------------------------------------------------------ > > Key: PHOENIX-4482 > URL: https://issues.apache.org/jira/browse/PHOENIX-4482 > Project: Phoenix > Issue Type: Sub-task > Reporter: Rajeshbabu Chintaguntla > Assignee: Rajeshbabu Chintaguntla > Priority: Major > Labels: HBase-2.0 > Fix For: 5.0.0 > > > {noformat} > ERROR] > testReplayEditsWrittenViaHRegion(org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT) > Time elapsed: 82.455 s <<< ERROR! > java.lang.ClassCastException: > org.apache.hadoop.hbase.regionserver.wal.AsyncFSWAL cannot be cast to > org.apache.hadoop.hbase.regionserver.wal.FSHLog > at > org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT.createWAL(WALReplayWithIndexWritesAndCompressedWALIT.java:274) > at > org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT.testReplayEditsWrittenViaHRegion(WALReplayWithIndexWritesAndCompressedWALIT.java:192) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)