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

Enis Soztutar commented on HBASE-6821:
--------------------------------------

The problem is that untar can create a dir named ".META." on ntfs, but mvn 
clean, or rm cannot remove it, due to it's name. 

There can be 2 possible fixes I can think of. 
1. Rename the .META. directory to "-META-", and rename it back once we have 
copied it to hdfs. 
2. Do the untar'ing on dfs. This would require a commons-compact dependency. 

I have a patch for 1, which is fairly straightforward, but just a bit hacky. 
However, since TestMetaMigration* is a temporary test for upgrading from 
0.90->0.92 or 0.92->0.96, I think we can go with it.   
                
> [WINDOWS] .META. table name causes file system problems in windows
> ------------------------------------------------------------------
>
>                 Key: HBASE-6821
>                 URL: https://issues.apache.org/jira/browse/HBASE-6821
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>              Labels: windows
>
> TestMetaMigrationRemovingHTD untars a cluster dir having a .META. 
> subdirectory. This causes mvn clean to 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