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

Jonathan Hsieh commented on HBASE-16767:
----------------------------------------

[~tedyu], thanks for catching this.  [~busbey] thanks for fixing it.  My bad.


> Mob compaction needs to clean up files in /hbase/mobdir/.tmp and 
> /hbase/mobdir/.tmp/.bulkload when running into IO exceptions 
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-16767
>                 URL: https://issues.apache.org/jira/browse/HBASE-16767
>             Project: HBase
>          Issue Type: Bug
>          Components: mob
>    Affects Versions: 2.0.0
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16767.master.001.patch, 
> HBASE-16767.master.002.patch, HBASE-16767.master.003.patch, 
> HBASE-16767.master.004.patch, HBASE-16767.master.004.patch, 
> HBASE-16767.master.005.patch
>
>
> For the following lines, when it runs into IOException, it does not clean up 
> the files under /hbase/mobdir/.tmp and /hbase/mobdir/.tmp/.bulkload. 
> It could be due to creating of new mob file or new reference file under 
> .bulkload directory fails. Or when mob files from ./tmp to the mob region 
> directory fails.
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.java#L433
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.java#L433



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to