[
https://issues.apache.org/jira/browse/HBASE-9168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-9168:
------------------------------------------
Attachment: HBASE-9168_1.patch
We need to check for the existence. But the UserTableDirFilter is trying to
filter out these directories like .archive, .logs etc.
But here the base path itself goes in with .archive to the UserTableDirFilter
and hence it does not filter it.
I think as Ted has pointed out there is a change in the behaviour in 2.0 that
is throwing this exception. Just attaching a simple patch that checks for
existence but not sure of the implications wrt Namespace changes.
> 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