You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2012/11/09 20:22:12 UTC

[jira] [Updated] (HBASE-6830) [WINDOWS] Tests should not rely on local temp dir to be available in DFS

     [ https://issues.apache.org/jira/browse/HBASE-6830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-6830:
--------------------------

    Status: Patch Available  (was: Open)
    
> [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
>         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