You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/01/29 23:44:00 UTC

[jira] [Commented] (PHOENIX-4482) Fix WALReplayWithIndexWritesAndCompressedWALIT failing with ClassCastException

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

Josh Elser commented on PHOENIX-4482:
-------------------------------------

This isn't a straightforward one to address.

We will either need to rework this test to:
# Only use FSHLog and not AsyncFSWAL (or any future implementation)
# Be agnostic of WAL implementation
# Scrap the test in favor of something more maintainable.

Not sure what the best course of action would be. Maybe #1 for now.

> 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)