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

Ted Yu commented on HBASE-9168:
-------------------------------

A similar approach is to catch FileNotFoundException in NamespaceUpgrade.
This way existence check can be omitted.
                
> TestMetaMigrationConvertingToPB fails on hadoop 2.0 due to 
> FileNotFoundException
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-9168
>                 URL: https://issues.apache.org/jira/browse/HBASE-9168
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 9168-v1.txt, HBASE-9168_1.patch
>
>
> NamespaceUpgrade is called by TestMetaMigrationConvertingToPB
> TestMetaMigrationConvertToPB.tgz doesn't contain .archive directory.
> NamespaceUpgrade#migrateTables() calls listStatus() on .archive directory 
> (hardcoded)
> Due to change of behavior in hadoop 2.0, FileNotFoundException gets thrown 
> and makes the test fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to