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

Enis Soztutar commented on HBASE-6830:
--------------------------------------

This is not needed for the integration tests, but more for unit tests on 
windows. I want to commit this (and the other windows fixes) to 0.94, but I am 
thinking of an all-or-nothing approach to those. Once we finalize the patch for 
bin scripts (HBASE-6815), probably next week, and get the rest of 
patch-available (HBASE-6816, HBASE-6825, HBASE-6821, HBASE-6832, HBASE-6824, 
HBASE-6829) reviewed and committed, I'll propose to merge all of them to 0.94. 
Does is makes sense? 
                
> [WINDOWS] Tests should not rely on local temp dir to be available in DFS
> ------------------------------------------------------------------------
>
>                 Key: HBASE-6830
>                 URL: https://issues.apache.org/jira/browse/HBASE-6830
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>              Labels: window
>             Fix For: 0.96.0
>
>         Attachments: hbase-6830_v1-0.94.patch, hbase-6830_v1-trunk.patch, 
> hbase-6830_v5-0.94.patch, hbase-6830_v5-trunk.patch
>
>
> Some of the tests resolve the local temp directory for temporary test data, 
> but use this directory path in dfs. Since on windows, local temp dir is 
> resolved to something like: c:\\<path_to_local_dir>, 
> DistributedFileSystem.getPathName() throws an IllegalArgumentException 
> complaining that it is not a valid path name. 
> Instead of relying on a local temp dir name, we should create a temp dir on 
> dfs, and use this as a basis dir for test data. 
> At least the following test cases are affected by this: 
> {code}
> TestHFileOutputFormat
> TestHRegionServerBulkLoad
> {code}

--
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