hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shuaishuai Nie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4448) Fix metastore warehouse incorrect path on Windows for test case TestExecDriver and TestHiveMetaStoreChecker
Date Tue, 30 Apr 2013 01:25:13 GMT

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

Shuaishuai Nie updated HIVE-4448:
---------------------------------

    Attachment: HIVE-4448.1.patch
    
> Fix metastore warehouse incorrect path on Windows for test case TestExecDriver and TestHiveMetaStoreChecker
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4448
>                 URL: https://issues.apache.org/jira/browse/HIVE-4448
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.11.0
>         Environment: Windows
>            Reporter: Shuaishuai Nie
>            Assignee: Shuaishuai Nie
>         Attachments: HIVE-4448.1.patch
>
>
> Unit test cases which not using QTestUtil will pass incompatible Windows path of METASTOREWAREHOUSE
to HiveConf which result in creating the /test/data/warehouse folder in the wrong location
in Windows. This folder will not be deleted at the beginning of the unit test and the content
will cause failure of unit tests if run the same test case repeatedly. The root cause of this
problem is for path like this "pfile://C:\hive\build\ql/test/data/warehouse", the "C:\hive\build\"
part will be parsed as authority of the path and removed from the path string. The patch will
fix this problem and make the unit test result consistent between Windows and Linux.

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

Mime
View raw message