You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2012/07/30 18:59:34 UTC

[jira] [Commented] (HIVE-3319) Fix the “TestHiveHistory”, “TestHiveConf”, & “TestExecDriver” unit tests on Windows by fixing the path related issues.

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

Edward Capriolo commented on HIVE-3319:
---------------------------------------

Just wondering. Does this work on windows because dos has a cat operator?

  Operator<ScriptDesc> op2 = OperatorFactory.get(new ScriptDesc("cat",

or is the unit test only testing the plan?
                
> Fix the “TestHiveHistory”, “TestHiveConf”, & “TestExecDriver” unit tests on Windows by fixing the path related issues.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3319
>                 URL: https://issues.apache.org/jira/browse/HIVE-3319
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests, Windows
>    Affects Versions: 0.10.0, 0.9.1
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>         Attachments: HIVE-3319.1.patch.txt
>
>
> TestHiveConf : Location of the “hive-site.xml” path on Unix is different from Windows so need to compare the paths after generating the OS independent URI path.
> TestHiveHistory: Generate the testFileDirectory from URI object instead of manually constructing it to make it work on Unix as well as on Windows
> TestExecDriver: 
> 1) Generate the testFileDirectory from URI object instead of manually constructing it to make it work on Unix as well as on Windows
> 2) change the absolute path to relative path of the “Cat” utility to make it work on windows with CygWin tools in the Windows Path.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira