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

Edward Capriolo commented on HIVE-4832:
---------------------------------------

We should stream only to java processes in our test cases so they are platform 
independent and we can avoid all these IFWINDOWZ hacks. 
http://my.safaribooksonline.com/book/databases/hadoop/9781449326944/14dot-streaming/_genericmr_tools_for_streaming_to_java_html
 
                
> script_pipe.q test fails on windows as streaming shell cmd requires 'cmd /c'
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-4832
>                 URL: https://issues.apache.org/jira/browse/HIVE-4832
>             Project: Hive
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>              Labels: windows
>         Attachments: HIVE-4832.1.patch
>
>
> script_pipe.q is a streaming test case that uses 'head -n 1' shell command. 
> On windows, for streaming, the command needs to be replaced with 'cmd /c head 
> -n 1' .
> The wiki doc has been updated - 
> https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27362047&selectedPageVersions=6&selectedPageVersions=5

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