Enis Soztutar created HBASE-6830:
------------------------------------
Summary: [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.96.0, 0.94.3
Reporter: Enis Soztutar
Assignee: Enis Soztutar
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