[
https://issues.apache.org/jira/browse/HBASE-18287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067657#comment-16067657
]
huaxiang sun commented on HBASE-18287:
--------------------------------------
Thanks [~jingcheng.du]. I forgot to attach the code link:
https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.java#L933
We have a user case that mob table is cloned from a snapshot. In this case, mob
files are mostly HFileLinks. During mob compaction, it tries to find the file
in region dir/tmp dir/mob dir/archive dir, there are lots of warnings since
file is not there in tmp dir/mob dir. Since this is valid, I think warning is
not appropriate here. If it is really needed, it can be trace or debug.
For FileLink, there is no warning logged.
https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java#L399
what do you think?
> Remove log warning in PartitionedMobCompactor.java#getFileStatus
> -----------------------------------------------------------------
>
> Key: HBASE-18287
> URL: https://issues.apache.org/jira/browse/HBASE-18287
> Project: HBase
> Issue Type: Bug
> Components: mob
> Affects Versions: 2.0.0-alpha-1
> Reporter: huaxiang sun
> Assignee: huaxiang sun
> Priority: Minor
>
> It is confusing as the FileNotFound is expected here.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)