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

Ted Yu commented on HBASE-16479:
--------------------------------

For hlog generated by 1.x, using WALPlayer from hbase2 would result in:
{code}
2017-11-02 21:22:40,907 INFO  [main] mapreduce.Job: Task Id : 
attempt_1509641483571_0003_m_000000_0, Status : FAILED
Error: java.lang.ClassCastException: 
org.apache.hadoop.hbase.regionserver.wal.WALEdit cannot be cast to 
org.apache.hadoop.hbase.wal.WALEdit
        at 
org.apache.hadoop.hbase.mapreduce.WALPlayer$WALCellMapper.map(WALPlayer.java:143)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
{code}
What's the recommended way to handle WAL from 1.x ?

> Move WALEdit from hbase.regionserver.wal package to hbase.wal package
> ---------------------------------------------------------------------
>
>                 Key: HBASE-16479
>                 URL: https://issues.apache.org/jira/browse/HBASE-16479
>             Project: HBase
>          Issue Type: Sub-task
>          Components: wal
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>            Priority: Major
>             Fix For: 2.0.0-alpha-3
>
>         Attachments: HBASE-16479.branch-2.001.patch, hbase-16479_v1.patch
>
>
> {{hbase.wal}} is the new home for WAL related code. WALEdit should be there. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to